Reverse Array Problem Leetcode Rating