Tokopedia interview question

Reverse the word that given