Leetcode 347. Top K Frequent Elements
# Intuition
Count number of occurences of each number, return the numbers with
the highest count.
# Approach
Bucket sort. Iterate through array counting occurences
and storing them in a dictionary.
Then add the values to a list of lists where
the...
blog.kennycarneal.com2 min read