Write top_k_words(words, k) returning the k most frequent words, ties alphabetically.
top_k_words(['i', 'love', 'sql', 'i', 'love', 'python'], 2) → ['i', 'love']
top_k_words([], 3) → []
Submit runs 4 tests, including hidden edge cases.
Run your code to see the output here.