Skip to content
dsa
/
roadmap
Roadmap
Level Up
Labs
Test yourself
Progress
Search topics…
⌘K
🔥
Roadmap
Level Up
Labs
Test yourself
Progress
How to use this guide
Cheat sheets
Glossary
← Roadmap
Phase 5
Hashing
Hash functions and collision handling for near-instant lookup.
Cheat sheet
5.1
Hashing Basics
A hash function turns a key into an array index, so search is O(1) on average. Collisions, separate chaining, linear probing and the load factor.
medium
Keyboard shortcuts
Esc
⌘K
/
Search topics, glossary, cheat sheets
space
Play / pause the visualizer
←
→
Step back / forward
r
Reset the visualizer
?
Show this help