Moxie Software interview question

reverse a string in place (Code)