Mphasis interview question

Round 1 - How does the size of Arraylist increases dynamically?

Interview Answer

Anonymous

7 Dec 2018

Arraylist internally stores array implementation. After each insertion it usually checks whether size needs to increase. If required it always increases 50% size.