Nordstrom Interview Question

Simple array manipulation questions