Group Anagrams
Words that are permutations of one another belong to the same anagram class. For two strings, membership in one class means their letters can be rearranged into a common arrangement, which holds exactly when every letter occurs with the same multiplicity in both. The task is to partition an input list of strings into these classes and return the classes in any order, with the words inside each class in any order as well.