PTC interview question

Reverse words in string without using stack?