Girikon interview question

Reverse of a string