Barclays Interview Question

grouping anagrams coding question. More from leetcode