Amazon Interview Question

How are ArrayLists implemented internally?

Interview Answer

Anonymous

Mar 11, 2013

A fixed size array is created at the start, when it gets full, the size is doubled and the old array is copied to the new array.