Amplify interview question

Group Anagrams