Microsoft interview question

Group anagrams and dictionary implementation