CodingDolphin
Technical Interview Study SpaceLog in
YOUR STUDY DESK

What are you studying?

Ask a CS concept or interview question. Get an explanation you can actually use.

TRY A TOPIC
SAMPLE MODULE · JUNIOR LEVEL

Hash maps

Python example · 3 practice questions

STEP 01 / 0714% viewed
01 / THE SHORT ANSWER

A hash map stores key–value pairs in an array of buckets. A hash function turns each key into a bucket index, giving average constant-time lookup, insertion, and deletion when collisions are managed well.