What happens when two keys map to the same index after a hashing function has been applied?

A. the array is lengthened
B. a collision occurs
C. the second item is mapped to the next cell
D. the hash is reapplied with a random value

Answer: B

Computer Science & Information Technology

You might also like to view...

The formula bar in Excel displays the contents of the currently active cell

Indicate whether the statement is true or false

Computer Science & Information Technology

If you have several areas that need to be edited and ____ to one another, you will want to use multiple editable regions to ensure that the necessary updates can be made.

A. are adjacent B. are not adjacent C. Either a or b. D. Neither a nor b.

Computer Science & Information Technology