Providence Interview Question

Reverse words in a string