Microsoft Interview Question

Inverse the words in a sentence without any build in method.