Restroworks Interview Question

Q: Reverse words of given string.