AlgoScope

Hash Table Delete

AlgorithmintermediateHash Tables and Collision Handling

Mark the slot as used-and-emptied, because a real hole would cut the probe chain.

Decision · step 3 of 5Hash Table: Delete leaves a marker
01234551662778910probe5 > 16

Slot 5 holds 5, not 16. Walk on to slot 6.

Open in the player →or start at step 3

What you will see

With probing, the slot becomes a tombstone marker rather than empty.

How hash table works →

Cost

BestO(1)
AverageO(1)
WorstO(n)
SpaceO(1)

How you work with it here

play it through, step one change at a time, scrub to any step, run it on your own input, try operations in any order.

Screen readers: Buckets announce index, occupancy and keys; each step announces the hash value and where the key lands.

Reduced motion: Keys appear in their bucket with a crossfade instead of travelling from the hash label.