Zynga interview question

Reverse string 2 from leetcode