Restroworks interview question

Q: Reverse words of given string.