Hash TablesGroup Anagrams
Progress
solution.py
⌘↵ run
Loading...

Group Anagrams

medium
You've got this! Start small, think out loud.

Given an array of strings, group the anagrams together. You can return the answer in any order. An anagram is a word formed by rearranging the letters of another word.

Time:O(n * k log k)
Space:O(n * k)
hash-mapstringgoogle-favorite
OUTPUT

Run your code to see output