Amazon Interview Question

Find whether tree is symmetric or not