Frage im Vorstellungsgespräch bei Amazon

Find out if two binary trees are equal

Antwort im Vorstellungsgespräch

Anonym

28. März 2012

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

1