Amazon Interview Question

Find out if two binary trees are equal

Interview Answer

Anonymous

Mar 28, 2012

check root value first, then return left subtrees equal && right subtrees equal need to take care of the null cases.

1