CodeHS interview question

Reverse a string.