Cure.Fit interview question

Top K Frequent Elements in a stream.