会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
努橙刷题编
博客园
::
首页
::
博问
::
闪存
::
新随笔
::
联系
::
订阅
::
管理
::
公告
2017年5月29日
[LeetCode] 199. Binary Tree Right Side View
摘要: https://leetcode.com/problems/binary-tree-right-side-view/
阅读全文
posted @ 2017-05-29 14:57 努橙
阅读(157)
评论(0)
推荐(0)
[LeetCode] 513. Find Bottom Left Tree Value
摘要: https://leetcode.com/problems/find-bottom-left-tree-value/ 用 BFS,层次遍历
阅读全文
posted @ 2017-05-29 14:38 努橙
阅读(163)
评论(0)
推荐(0)
[LeetCode] 515. Find Largest Value in Each Tree Row
摘要: https://leetcode.com/problems/find-largest-value-in-each-tree-row/ BFS,和树的 level order traversal 差不多
阅读全文
posted @ 2017-05-29 13:28 努橙
阅读(147)
评论(0)
推荐(0)
[LeetCode] 529. Minesweeper
摘要: https://leetcode.com/problems/minesweeper/
阅读全文
posted @ 2017-05-29 09:10 努橙
阅读(518)
评论(0)
推荐(0)
[LeetCode] 542. 01 Matrix
摘要: https://leetcode.com/problems/01-matrix/ 思路参考:http://www.cnblogs.com/grandyang/p/6602288.html
阅读全文
posted @ 2017-05-29 06:44 努橙
阅读(139)
评论(0)
推荐(0)
[LeetCode] 598. Range Addition II
摘要: https://leetcode.com/problems/range-addition-ii 思路1: brute force - O(m * n * k), k = number of ops思路2: 从 ops 中找到被操作次数最多的 row 和 column,这可以通过遍历 ops 数组,分
阅读全文
posted @ 2017-05-29 04:49 努橙
阅读(198)
评论(0)
推荐(0)
[LeetCode] 382. Linked List Random Node
摘要: https://leetcode.com/problems/linked-list-random-node
阅读全文
posted @ 2017-05-29 04:18 努橙
阅读(138)
评论(0)
推荐(0)