Action Item interview question

write a code that flipped words order .