Continental Interview Question

how to reverse a string