Apisero Interview Question

how to reverse a string?