Indeed Interview Question

Reverse a string.