Amazon Interview Question

Write a function to determine if a tree is symmetrical