← All problems
Medium · Arrays & Hashing
Top K Frequent Elements
Return the k most frequent distinct values.
Full problem and submission ↗Return the k most frequent distinct values.
Full problem and submission ↗