Microsoft interview question

Take a string and reverse it