map/top_k_frequent library

Functions

topKFrequent<T>(List<T> items, int k) List<T>
Returns the top K most frequent elements in the list items.