Wipro Interview Question

Programming question on grouping anagrams