If Large Number Of Items Are Stored In Hash Bucket What Happens #681
If large number of items are stored in hash bucket, what happens to the internal structure?
This multiple choice question (MCQ) is related to the book/course gs gs128 Java. It can also be found in gs gs128 Java Util Collections Framework - Java HashMap - Quiz No.1.
If large number of items are stored in hash bucket, what happens to the internal structure?
The bucket will switch from LinkedList to BalancedTree
The bucket will increase its size by a factor of load size defined
The LinkedList will be replaced by another hashmap
Any further addition throws Overflow exception