126k views
5 votes
What is a hash function? A. A function that computes the location of the values in the array B. A function has allocated memory to keysC. A function that create an arrayD. None of these

User Artex
by
5.0k points

2 Answers

4 votes
A hash function is a function that computes the location of the values in the array which means it would be A.
User Serapth
by
5.2k points
5 votes

Answer:

A hash function is a function which when given a key, generates an address in the table. The example of a hash function is a book call number. Each book in the library has a unique call number. ... The later is always possible only if you know (or approximate) the number of objects to be proccessed.

Step-by-step explanation:

A

User Sectechguy
by
5.7k points