Search⌘ K
AI Features

Top K Frequent Words

Top K Frequent Words asks you to return the k most common strings from a list, ordered by decreasing frequency, with lexicographical order breaking ties.

Statement

Given a list of strings words and an integer ...