Amazon Robotics Interview Question

Write pseudo code to test and see if a binary tree is symmetric.