Reverse Array Problem Leetcode Two Robots Fighting