Group an array of strings so that each group contains anagrams of each other (order of groups doesn’t matter).
First line n, then n words.
List of groups (in any order).
Example 1:
Input:
strs = ["eat","tea","tan"]
Output:
[[eat,tea],[tan]]
Explanation:
"eat" and "tea" are anagrams.