Reverse Array Problem Leetcode Sql 50