Question DSA-HASH-0055
MediumSince Java 8, what does HashMap do when one bucket gets too many entries (above 8)?
- A.
Doubles every bucket's size
- B.
Converts that bucket's list into a balanced tree
- C.
Throws an exception
- D.
Deletes the oldest entry
Sign up free to see the answer and a step-by-step explanation.