Aha, the Deleted variant is required because Empty also indicates that a lookup can cease probing. So H(A) == H(B) [Full(A), Full(B), Empty] after delete A must become [Deleted, Full(B), Empty], otherwise lookup(B) would probe at index 0, see empty, and return false.
View all comments
Show parent comment
3
u/Life_Sink9598 Sep 08 '26
Aha, the
Deletedvariant is required becauseEmptyalso indicates that a lookup can cease probing. SoH(A) == H(B)[Full(A), Full(B), Empty] after delete A must become [Deleted, Full(B), Empty], otherwiselookup(B)would probe at index 0, see empty, and return false.