Quantifind interview question

Reverse a string