Netcracker Technology interview question

Arraylist internal implementation