UST interview question

Reverse every word in a string