🛠️ Steven Gong

Search

SearchSearch
  • Linear Probing
  • Related

Sep 12, 2024, 1 min read

Hashing Open Addressing

Linear Probing

The main idea of linear probing is to avoid the links needed for Chaining by permitting only one item per slot, but allowing a key k to be in multiple slots.

  • Essentially, if you can’t insert the key because the slot is taken, move down until you can

Refresher:

  • https://www.youtube.com/watch?v=4YiQITXu_iM

Full example in the chapter slides.

Related

  • Double Hashing

Graph View

Backlinks

  • Double Hashing
  • Hashing
  • Open Addressing ("Closed Hashing")

Created with Quartz, © 2025

  • Blog
  • LinkedIn
  • Twitter
  • GitHub