solulubeta
Sign in
NeetCode 150 / Arrays & Hashing
01.04 · Problem

Group Anagrams

Medium Hash map with a canonical key 1 video LC 49 Pro

This problem is part of solulu Pro

Given a list of lowercase strings strs, group together the strings that are anagrams of each other (same letters, same counts). Return the groups in any order; the strings inside a group may also be in any order.

Lifetime ₹2,000 ₹1,000 · Beta offer
Mark this problem as solved when you are finished.

Item 4 of 9 · updated 2026-10-12