Skip to main content

Hashing Quiz

Editorial

13 questions across the three Hashing lessons: which structure a task needs, what a lookup costs and when it doesn't, what makes a good key, and what a small bug does. Pick an answer to see whether it's right and why. Nothing is saved, so you can take it again.

If one trips you up, its lesson is Introduction to Hash Tables, Frequency Counting with Hash Maps or Grouping and Matching with Hash Maps.

Quiz

1 / 13

Multiple choice

Does any value appear twice in an unsorted array? What should you keep as you go?