Given an array of strings, categorize them into groups where each group consists of strings that are anagrams of one another.
Explanation: The strings 'cat', 'tac', and 'act' are anagrams of each other, as are 'dog' and 'god'.
Explanation: All the strings are anagrams of each other.
Explanation: Since there are no anagrams, each string forms its own group.
Group strings by character composition
No dry run loaded.
🚀 Practice this problem
Run code, get AI hints & track streak