会员
众包
新闻
博问
闪存
云市场
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
妖刀舍
博客园
|
首页
|
新随笔
|
新文章
|
联系
|
订阅
|
管理
2020年11月10日
leetcode226 翻转二叉树
摘要: 1 /* 2 * @lc app=leetcode.cn id=226 lang=cpp 3 * 4 * [226] 翻转二叉树 5 */ 6 7 // @lc code=start 8 /** 9 * Definition for a binary tree node. 10 * struct T
阅读全文
posted @ 2020-11-10 22:18 妖刀舍
阅读(108)
评论(0)
推荐(0)
编辑
leetcode199 二叉树的右视图
摘要: 1 /* 2 * @lc app=leetcode.cn id=199 lang=cpp 3 * 4 * [199] 二叉树的右视图 5 */ 6 7 // @lc code=start 8 /** 9 * Definition for a binary tree node. 10 * struct
阅读全文
posted @ 2020-11-10 22:17 妖刀舍
阅读(117)
评论(0)
推荐(0)
编辑
2020年11月9日
leetcode114- 二叉树展开为链表
摘要: 1 /* 2 * @lc app=leetcode.cn id=114 lang=cpp 3 * 4 * [114] 二叉树展开为链表 5 */ 6 7 // @lc code=start 8 /** 9 * Definition for a binary tree node. 10 * struc
阅读全文
posted @ 2020-11-09 21:23 妖刀舍
阅读(102)
评论(0)
推荐(0)
编辑
2020年11月8日
leetcode145 二叉树的后序遍历 特别注意迭代
摘要: /* * @lc app=leetcode.cn id=145 lang=cpp * * [145] 二叉树的后序遍历 */ // @lc code=start /** * Definition for a binary tree node. * struct TreeNode { * int va
阅读全文
posted @ 2020-11-08 19:48 妖刀舍
阅读(67)
评论(0)
推荐(0)
编辑
leet144 二叉树的前序遍历
摘要: /* * @lc app=leetcode.cn id=144 lang=cpp * * [144] 二叉树的前序遍历 */ // @lc code=start /** * Definition for a binary tree node. * struct TreeNode { * int va
阅读全文
posted @ 2020-11-08 19:47 妖刀舍
阅读(107)
评论(0)
推荐(0)
编辑
leetcode113 路径总和2 特别关注
摘要: 1 /* 2 * @lc app=leetcode.cn id=113 lang=cpp 3 * 4 * [113] 路径总和 II 5 */ 6 7 // @lc code=start 8 /** 9 * Definition for a binary tree node. 10 * struct
阅读全文
posted @ 2020-11-08 19:46 妖刀舍
阅读(80)
评论(0)
推荐(0)
编辑
leetcode 112 路径总和 特别关注
摘要: 1 /* 2 * @lc app=leetcode.cn id=112 lang=cpp 3 * 4 * [112] 路径总和 5 */ 6 7 // @lc code=start 8 /** 9 * Definition for a binary tree node. 10 * struct Tr
阅读全文
posted @ 2020-11-08 19:44 妖刀舍
阅读(110)
评论(0)
推荐(0)
编辑
2020年11月6日
leetcode 111 二叉树的最小深度
摘要: 1 /* 2 * @lc app=leetcode.cn id=111 lang=cpp 3 * 4 * [111] 二叉树的最小深度 5 */ 6 7 // @lc code=start 8 /** 9 * Definition for a binary tree node. 10 * struc
阅读全文
posted @ 2020-11-06 22:24 妖刀舍
阅读(84)
评论(0)
推荐(0)
编辑
leetcode107 二叉树的层次遍历2
摘要: 1 /* 2 * @lc app=leetcode.cn id=107 lang=cpp 3 * 4 * [107] 二叉树的层次遍历 II 5 */ 6 7 // @lc code=start 8 /** 9 * Definition for a binary tree node. 10 * st
阅读全文
posted @ 2020-11-06 22:23 妖刀舍
阅读(59)
评论(0)
推荐(0)
编辑
2020年11月5日
leetcode105—— 从前序与中序遍历序列构造二叉树
摘要: 1 /* 2 * @lc app=leetcode.cn id=105 lang=cpp 3 * 4 * [105] 从前序与中序遍历序列构造二叉树 5 */ 6 7 // @lc code=start 8 /** 9 * Definition for a binary tree node. 10
阅读全文
posted @ 2020-11-05 22:36 妖刀舍
阅读(134)
评论(0)
推荐(0)
编辑
下一页
公告