Thomson Reuters Interview Question

Invert a binary tree