Workspace

Arrays & Hashing

3 day streakD
All algorithms
BEGINNER · 4 PRACTICE PROBLEMS

Arrays & Hashing

Find the pattern. Make every lookup count.

Learn the pattern Put it into practice
THE CORE IDEA

Hash map lookup

Trade a little space for fast lookups. Great for counting, grouping, and finding pairs.

O(n)

A good place to practice

Start simple, then build up to the next challenge.

4 problems
SolvedProblemDifficultyTopicAcceptanceBookmark
Two SumEasyArrays & Hashing55.2%
Contains DuplicateEasyArrays & Hashing62.5%
Valid AnagramEasyArrays & Hashing66.2%
Group AnagramsMediumArrays & Hashing70.4%

A good place to start

Explore a pattern

A little guidance

Start with a pattern, read through a problem, and mark it solved when the idea clicks. Save anything you want to revisit.

This preview uses sample content. Your bookmarks and solved checkmarks stay in this browser.

Explore the roadmap