Reverse Array Problem Leetcode Two Robots Riddle