Leetcode Reverse An Array Problem For Second