J.P. Morgan interview question

Design an ArrayList in Java.