UST interview question

Reverse the words in a sentence code