American Express Interview Question

Standard question to Invert Binary tree