javascript intermediate ينتهي في 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.

حلّه 0 شخصًا حتى الآن.

javascript
المحررCtrl + Enter

            
        

عندما تطبع الاختبارات "All tests passed" يُعلَّم التحدي كمحلول في هذا المتصفح.

إرسال حلك للمراجعة