leetcode
文章平均质量分 60
better_征
这个作者很懒,什么都没留下…
展开
-
LeetCode 814.Binary Tree Pruning
题目: We are given the head node root of a binary tree, where additionally every node's value is either a 0 or a 1. Return the same tree where every subtree (of the given tree) not containing a 1 has ...原创 2018-10-29 20:36:00 · 88 阅读 · 0 评论 -
leetcode 617.Merge Two Binary Trees
题目: Given two binary trees and imagine that when you put one of them to cover the other, some nodes of the two trees are overlapped while the others are not. You need to merge them into a new binary...原创 2018-10-31 17:53:26 · 87 阅读 · 0 评论