GlobalLogic Interview Question

Reverse each word in the string