Microsoft interview question

Reverse a sentence