Concept Flow - Group Anagrams Using Hash Map
Start with list of words
For each word: Sort letters to form key
Check if key in hash map?
No→Create new list for key
Add word to list
Add word to existing list for key
After all words processed
Return all grouped anagrams as lists
We take each word, sort its letters to get a key, then group words with the same key together in a hash map.