Problem bank
MediumArrays & HashingNeetCode 150 · #4/150

Group Anagrams

  1. 1
    Learn the pattern

    Hash map first: if you need O(1) lookups or frequency counts, reach for the map before anything clever.

  2. 2
    Trace your version

    Paste your solution into the workspace and watch every step execute.

    Open workspace
  3. 3
    Solve it

    Solve it on LeetCode, then mark it solved here to keep your streak alive.

Two SumTop K Frequent Elements