摘要:
Problem:Given two binary trees, write a function to check if they are equal or not.Two binary trees are considered equal if they are structurally identical and the nodes have the same value.Analysis:Use a queue to do level order traversal is not proper in this problem since this method ignores the s 阅读全文
posted @ 2013-04-07 08:10
freeneng
阅读(190)
评论(0)
推荐(0)
浙公网安备 33010602011771号