Amazon Interview Question

Group anagram was the leetcode problem.