Reverse Array Problem Leetcode Interview Crash