In the HashTable functions, we had to make sure the client’s hash function did not produce an index outside of the array; yet, we didn’t need a size variable as a private member of HashTable because:
A. the client knows what size the hash table is
B. the Array used for the hash table has a length function
C. if the hash function is faulty, the index produced must be less than 0
D. we require that the client thoroughly test the hash function
B
Computer Science & Information Technology