Question d’entretien chez Microsoft

How to reverse the words in a string.