Pergunta de entrevista da empresa Expedia Group

One question, reverse the order of the words in a string.