CarGurus Interview Question

One question on constructing custom ArrayList