If it helps, my book Crafting Interpreters walks through a linear probing hash table implementation in C including handling deletion:
https://craftinginterpreters.com/hash-tables.html#deleting-e...