javascript intermediate Termina il 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.

Risolta finora da 0 persone.

javascript
EditorCtrl + Enter

            
        

Quando i test mostrano "All tests passed", la sfida viene segnata come risolta in questo browser.

Invia la tua soluzione per la revisione