Reversing A String Leetcode Problems