Anonymous Content interview question

Reversing a string