Cobalt Robotics interview question

An easy difficulty array traversal -- no algorithms