Group Anagrams Without Sorting

Given an array of strings strs, group all strings that are anagrams of each other and return the groups. The order of groups and the order within each group do not matter.

Requirement: do not build...

Example

Unlock to view complete problem details

and practice with sample input/output

Was this article helpful?

View Test Cases & Run Code requires membership

Standard Input
Execution Result: