Problems / Arrays & Hashing / Group Anagrams
#4 Medium O(m·n·log n) O(m·n) Animated

Group Anagrams

Group an array of strings so that anagrams are together.

LeetCode ↗
Approach: Hash Map with Character Count Array
Click play to start
Step 0 / 0
Press play to start the visualization.

Steps