Microsoft Interview Question

determine if two trees are identical