SigFig Interview Question

Manipulate array list.