Travelfusion Interview Question

how an arraylist grows dynamically