Xtreme Softech interview question

Reverse a string