Problem bank
EasyArrays & HashingNeetCode 150 · #1/150

Contains Duplicate

  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.

Valid Anagram