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

Resuelto por 0 personas hasta ahora.

javascript
EditorCtrl + Enter

            
        

Cuando las pruebas muestran "All tests passed", el reto se marca como resuelto en este navegador.

Envía tu solución para revisión