Reverse Array Problem Leetcode Javascript Practice Github