Reverse String Leetcode Solution In Cpp