Concept Flow - Group Anagrams Using Hash Map
Start with list of words
For each word:
Sort letters of word
Use sorted word as key in hash map
Add original word to hash map[key
After all words processed
Collect all hash map values as groups
Return grouped anagrams
We take each word, sort its letters to create a key, then group words with the same key in a hash map.
