Domanda di colloquio di Indeed

campus question is first reverse a string and then reverse only words in a string.