Reverse Array Problem Leetcode Solutions Github Copilot