Algorithms Daily
One classic coding problem a day, the same for everyone, changing at midnight UTC. Try it, share your approach on the community feed with #algorithmsdaily, and follow @algorithmsdaily on X.
Problem for 2026-11-11 (UTC)
Group the anagrams
Medium
hash maps
strings
Group a list of words so words made of the same letters are together.
Example
["listen", "stone", "silent", "notes", "enlist"] → [["listen", "silent", "enlist"], ["stone", "notes"]]
Hints
Hint 1
Two words are anagrams if their sorted letters match.
Hint 2
Use the sorted letters (or a letter count) as a map key.
The past week
- 2026-11-10 · Buy once, sell onceEasy
- 2026-11-09 · Best stretch of daysMedium
- 2026-11-08 · Merge two sorted listsEasy
- 2026-11-07 · Palindrome, ignoring the noiseEasy
- 2026-11-06 · The missing numberEasy
- 2026-11-05 · Reverse the wordsEasy
- 2026-11-04 · Balanced bracketsEasy