LeetCode Experience

#347 Top K Frequent Elements

Interview Experience

LeetCode #347: Top K Frequent Elements. Difficulty: Medium. Topics: Array, Hash Table, Divide and Conquer, Sorting, Heap (Priority Queue), Bucket Sort, Counting, Quickselect. Asked at Apple in the last 6 months.

Original Source

This is a frequency-tagged signal. The full problem statement lives on the original source.

View original →

Topics

Bucket Sort Counting Divide And Conquer Heap (Priority Queue) Quickselect Arrays Hash Table Heap Queue Recursion Sorting