Microsoft Interview Question

top k frequency words in a list