javascript intermediate Ends 2026-11-17

Group anagrams

Write groupAnagrams(words) that groups words made of the same letters.

  • Ignore case: "Listen" and "silent" are anagrams.
  • Each group keeps the words in their original order; groups are ordered by the position of their first word.
  • Return an array of arrays.

Solved by 0 people so far.

javascript
EditorCtrl + Enter

            
        

When the tests print "All tests passed", the challenge is marked solved in this browser.

Submit your solution for review