Microsoft Interview Question

Reverse words in a given string. Example, i work at msft should return msft at work I