KLA Interview Question

Reverse the string