Find anything by its name in about one step, and see how Python's dict and Java's HashMap do it.
You can read a few lines of Python or Java: lists, loops and functions
The arrays tutorial helps, because it shows how a list is read by position, but the lessons link back when they need it
Lesson 1 · Welcome and warm-up
Next: 5 · Hash sets · 6 lessons · 1 h 01 min
Try the same model with your own values. No checks, nothing recorded.
Open the playground