Nextag Interview Question

reverse a string in place