PTC Interview Question

Reverse words in string without using stack?