I have seen several implementations of dynamic tables with open addressing using linear probing that does not use deleted slots before resizing. Here is one example: https://gist.github.com/EntilZha/5397c02dc6be389c85d8
Is there any logical reason not to reuse a deleted slot immediately?
I know why it makes sense not to set the slot's value as Empty
Hash Table: Why deletion is difficult in open addressing scheme because it would create a bug with the read
operation. However, what's holding from writing
to this slot? Wouldn't it be better to have most slots used as much as possible for performance?