Amazon interview question

group anagrams which is a leetcode question