首页
沸点
课程
数据标注
HOT
AI Coding
更多
直播
活动
APP
插件
直播
活动
APP
插件
搜索历史
清空
创作者中心
写文章
发沸点
写笔记
写代码
草稿箱
创作灵感
查看更多
登录
注册
Wonz
掘友等级
互联网/IT
Enjoy Coding. Enjoy Life.
获得徽章 0
动态
文章
专栏
沸点
收藏集
关注
作品
赞
3
文章 2
沸点 1
赞
3
返回
|
搜索文章
最新
热门
LeetCode | 0623. 在二叉树中增加一行【Python】
给定一个二叉树,根节点为第1层,深度为 1。在其第 d 层追加一行值为 v 的节点。 添加规则:给定一个深度值 d (正整数),针对深度为 d-1 层的每一非空节点 N,为 N 创建两个值为 v 的左子树和右子树。 将 N 原先的左子树,连接为新节点 v 的左子树;将 N 原先…
LeetCode | 0606. 根据二叉树创建字符串【Python】
你需要采用前序遍历的方式,将一个二叉树转换成一个由括号和整数组成的字符串。 空节点则用一对空括号 "()" 表示。而且你需要省略所有不影响字符串与原始二叉树之间的一对一映射关系的空括号对。
LeetCode | 0590. N叉树的后序遍历【Python】
Given an n-ary tree, return the postorder traversal of its nodes' values. Nary-Tree input serialization is represented in their level order…
LeetCode | 0589. N叉树的前序遍历【Python】
Given an n-ary tree, return the preorder traversal of its nodes' values. Nary-Tree input serialization is represented in their level order …
LeetCode | 0563. 二叉树的坡度【Python】
Given the root of a binary tree, return the sum of every tree node's tilt. The tilt of a tree node is the absolute difference between the s…
LeetCode | 0559. N 叉树的最大深度【Python】
Given a n-ary tree, find its maximum depth. The maximum depth is the number of nodes along the longest path from the root node down to the …
LeetCode | 0783. 二叉搜索树节点最小距离【Python】
Given a Binary Search Tree (BST) with the root node root, return the minimum difference between the values of any two different nodes in th…
我的 2020 年复盘
2020 年 6 月,我大学毕业,关于我的大学四年,都写在了这篇文章:我在南京邮电大学的四年。 2020 年 8 月,我开始工作,关于工作,都写在了这篇文章:工作近半年的一些个人感悟。 2020 年开始工作之后,我重拾了记账这个习惯。现在花钱都有所记录,现在每个月存下来的钱越来…
LeetCode | 0530. 二叉搜索树的最小绝对差【Python】
Given a binary search tree with non-negative values, find the minimum absolute difference between values of any two nodes. There are at lea…
LeetCode | 0515. 在每个树行中找最大值【Python】
Given the root of a binary tree, return an array of the largest value in each row of the tree (0-indexed). The number of nodes in the tree …
下一页
个人成就
文章被点赞
64
文章被阅读
135,990
掘力值
3,239
关注了
4
关注者
32
收藏集
0
关注标签
14
加入于
2020-01-03