Apple Interview Question

Implement a function to reverse a string in-place