Microsoft Interview Question

reverse word in a string