Amazon interview question

Group anagram was the leetcode problem.