Hash Table Lookup
Hash the key and walk the same path the insert would have walked.
Hash Table: Find a key behind a collision
Look up 27. Its hash is 27 mod 11, which is slot 5.
Cost
- Best
- O(1)
- Average
- O(1)
- Worst
- O(n)
- Space
- O(1)
Before this
Leads to
Topics that need this one first.
Taught by the same lesson
Hash Table covers these too, in the same run.