First Help Financial interview question

Reverse Words in a String