← Questions

Group anagrams

0
AmazonNvidiaUberCodingLast asked Jun 2026

Group the words in a list that are anagrams of one another, keeping repeated words. Build the grouping key from letter counts instead of sorting each word.

Write and test your solution herePython in your browser, the question's tests level by level, saved for you.Sign in to start coding