Pregunta de entrevista de Meta

They asked a leetcode Top K Frequent Elements