Amazon Interview Question

1. Reverse a string in place