HARMAN interview question

Implementation of Arraylist