Tintri Interview Question

Reverse words in string, malloc