Grasko Solutions interview question

reverse a string