Problem 692 · Medium

Top K Frequent Words

Pick the k most common words, breaking ties alphabetically. The visual tallies counts, then orders words by frequency and then by spelling.

Open the interactive visualisation