Yodlee interview question

Program to reverse words of a string.