algoritmauzmanı
Sign in
TREN
Subtopic 9.2

Open Addressing (Array)

5lessons29 min0done

With open addressing every key stays inside the array. If a key's cell is taken, other cells are tried in a fixed order; this search is called probing.

Each operation is its own lesson: insertion, search and deletion. Why deletion leaves a deleted marker instead of emptying the cell is explained separately. The last two lessons show quadratic probing and double hashing, which reduce clustering. The next subtopic does the same operations with chaining.

Lesson 9.2.1 Insert with linear probing6 min