Reverse String Leetcode Question