Apple Interview Question

I was asked to invert a binary tree.