We have the following hash table with 8 buckets, identity hash function and linear probing, with 0 meaning empty and -1 deleted. You want to insert 5 in it. In which bucket will it go?
Do not worry about the load factor.
We have the following hash table with 8 buckets, identity hash function and linear probing, with 0 meaning empty and -1 deleted. You want to insert 5 in it. In which bucket will it go?
Do not worry about the load factor.
Create a free account to access the full topic