Twilio Interview Question

Check given tree is symmetric