Amazon Robotics interview question

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