Question DSA-HASH-0073
HardTwo keys have the same hash code but are different. What must a hash map do?
- A.
Rehash the whole table
- B.
Store both and use equals() (or ==) to tell them apart on lookup
- C.
Sign up free to see the answer and a step-by-step explanation.