What is the cost of deleting a value from a hashtable?
问题 Now I have this question where I was asked the cost of deleting a value from a hash table when we used linear probing while the insertion process. What I could figure out from reading various stuff on the internet is that it has to do something with the load factor. Though I am not sure, but I read a relation between the load factor and no of probes required and it is No of probes = 1 / (1-LF). So I believe the cost has to be dependent on the probe sequence. But then another thought ruins