Cobalt Robotics Interview Question

An easy difficulty array traversal -- no algorithms