Domanda di colloquio di Amazon

Find out if two binary trees are equal

Risposta di colloquio

Anonimo

28 mar 2012

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

1