Microsoft Interview Question

Group all anagrams