JD Power Interview Question

reverse a string in place