EAB interview question

Reverse Word in my string