首页
学习
活动
专区
工具
TVP
发布

专知

专栏成员
835
文章
1415770
阅读量
397
订阅数
关关的刷题日记98 – Leetcode 106. Construct Binary Tree from Inorder
关关的刷题日记98 – Leetcode 106. Construct Binary Tree from Inorder and Postorder Traversal 题目 Given inorder and postorder traversal of a tree, construct the binary tree. Note: You may assume that duplicates do not exist in the tree. 思路 给出二叉树的后根遍历和中根遍历,构造二叉树。 了解后
WZEARW
2018-04-12
7260
【关关的刷题日记63】Leetcode 111 Minimum Depth of Binary Tree
关关的刷题日记63 – Leetcode 111 Minimum Depth of Binary Tree 题目 Given a binary tree, find its minimum depth. The minimum depth is the number of nodes along the shortest path from the root node down to the nearest leaf node.. 题目让我们求二叉树的最小深度:最小深度是指从根节点到最近叶子节点的最短路径的
WZEARW
2018-04-12
7950
【关关的刷题日记62】Leetcode 104. Maximum Depth of Binary Tree
关关的刷题日记62 – Leetcode 104. Maximum Depth of Binary Tree 题目 Given a binary tree, find its maximum depth. The maximum depth is the number of nodes along the longest path from the root node down to the farthest leaf node. 题目让我们求二叉树的最大深度:最大深度是指从根节点到最远叶子节点的最长路径的
WZEARW
2018-04-12
4900
【关关的刷题日记58】Leetcode 112 Path Sum
关关的刷题日记58 – Leetcode 112 Path Sum 题目 题目的意思是判断一棵二叉树跟到叶子节点的所有路径中是否有一条路径的和等于给定的和。 方法1:我们可以计算出当前路径的和,判断是
WZEARW
2018-04-11
6930
没有更多了
社区活动
【纪录片】中国数据库前世今生
穿越半个世纪,探寻中国数据库50年的发展历程
Python精品学习库
代码在线跑,知识轻松学
博客搬家 | 分享价值百万资源包
自行/邀约他人一键搬运博客,速成社区影响力并领取好礼
技术创作特训营·精选知识专栏
往期视频·千货材料·成员作品 最新动态
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档