#49

Group Anagrams

pupil · 525 · lc medium +28 · 72.2% accepted · 21,903 likes · top 81%

play →

Description

Cluster the strings in array strs into groups of mutual anagrams and return those groups in any order.

Code

1
2
3