Microsoft Interview Question

Write a method that compares two binary trees.