Meta Interview Question

reverse string in place with O(1) space