Amazon Interview Question

Reverse string and follow up questions with reverse word, e.g. : Hello world -> world Hello.