Concept Flow - Group Anagrams Using Hash Map
Start with list of words
For each word: Sort letters
Use sorted word as key in hash map
If key exists: Append original word to list
If key not exists: Create new list with word
Repeat for all words
Return all lists of grouped anagrams
We take each word, sort its letters to get a key, then group words with the same key in a hash map.
