J.P. Morgan Interview Question

Design an ArrayList in Java.