Divide_Conquer
兔子爱吃萝北
无忧无虑的像个瓜皮
展开
-
LeetCode101. Symmetric Tree
题目描述:Given a binary tree, check whether it is a mirror of itself (ie, symmetric around its center).For example, this binary tree [1,2,2,3,4,4,3] is symmetric: 1 / \ 2 2 / \ / \3 4 ...原创 2019-02-19 09:53:16 · 101 阅读 · 0 评论 -
LeetCode437. Path Sum III
题目描述:You are given a binary tree in which each node contains an integer value.Find the number of paths that sum to a given value.The path does not need to start or end at the root or a leaf, but...原创 2019-02-19 11:30:44 · 131 阅读 · 0 评论 -
LeetCode572. Subtree of Another Tree
题目描述:Given two non-empty binary trees s and t, check whether tree t has exactly the same structure and node values with a subtree of s. A subtree of s is a tree consists of a node in s and all of th...原创 2019-02-19 16:04:35 · 155 阅读 · 0 评论