I am trying to understand the open addressing method. I refer to T. H. Cormen's book on this topic, which states that deletion is difficult in open addressing. I am completely stuck at this paragraph:
Deletion from an open-address hash table is difficult. When we delete a key from slot
i, we cannot simply mark that slot as empty by storingNILin it. Doing so might make it impossible to retrieve any keykduring whose insertion we had probed slotiand found it occupied.
I don't understand this. Please explain it with some examples.