Return the k most frequent values in an array — and be ready to build the heap yourself. Too many requests from your network. Please wait a minute.