摘要:
这道题为简单题 题目: 思路: 利用广搜,对每个节点进行判断,是否它的左儿子存在,并且它左儿子的左右儿子都不存在,那么total就加上它左儿子的值 代码: 阅读全文
posted @ 2017-09-07 15:05
唐僧洗发爱飘柔
阅读(103)
评论(0)
推荐(0)
摘要:
这道题为简单题 题目: 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 阅读全文
posted @ 2017-09-07 14:57
唐僧洗发爱飘柔
阅读(150)
评论(0)
推荐(0)