Amazon interview question

Top k most frequent strings in a string array