会员
商店
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Dylan_Java_NYC
博客园
首页
新随笔
联系
订阅
管理
随笔 - 1033
文章 - 0
评论 - 4
阅读 -
40万
当前标签:Binary Search
1
2
3
下一页
LeetCode 1631. Path With Minimum Effort
Dylan_Java_NYC 2024-08-05 23:03
阅读:14
评论:0
推荐:0
编辑
LeetCode 1439. Find the Kth Smallest Sum of a Matrix With Sorted Rows
Dylan_Java_NYC 2024-04-07 10:21
阅读:40
评论:0
推荐:0
编辑
LeetCode 1482. Minimum Number of Days to Make m Bouquets
Dylan_Java_NYC 2024-04-07 00:01
阅读:18
评论:0
推荐:0
编辑
LeetCode 1891. Cutting Ribbons
Dylan_Java_NYC 2024-04-06 23:32
阅读:24
评论:0
推荐:0
编辑
LeetCode 1539. Kth Missing Positive Number
Dylan_Java_NYC 2024-04-05 10:33
阅读:14
评论:0
推荐:0
编辑
LeetCode 2187. Minimum Time to Complete Trips
Dylan_Java_NYC 2022-08-04 09:50
阅读:237
评论:0
推荐:0
编辑
LeetCode 1428. Leftmost Column with at Least a One
Dylan_Java_NYC 2022-08-03 14:43
阅读:33
评论:0
推荐:0
编辑
LeetCode 1235. Maximum Profit in Job Scheduling
Dylan_Java_NYC 2022-07-19 02:24
阅读:87
评论:0
推荐:0
编辑
LeetCode 354. Russian Doll Envelopes
Dylan_Java_NYC 2022-06-21 14:21
阅读:29
评论:0
推荐:0
编辑
LeetCode 1901. Find a Peak Element II
Dylan_Java_NYC 2022-06-10 14:31
阅读:219
评论:0
推荐:0
编辑
LeetCode 778. Swim in Rising Water
Dylan_Java_NYC 2020-02-01 16:07
阅读:255
评论:0
推荐:0
编辑
LeetCode 410. Split Array Largest Sum
Dylan_Java_NYC 2020-01-16 12:06
阅读:286
评论:0
推荐:0
编辑
LeetCode 1150. Check If a Number Is Majority Element in a Sorted Array
Dylan_Java_NYC 2019-12-21 10:48
阅读:866
评论:0
推荐:0
编辑
LeetCode 852. Peak Index in a Mountain Array
Dylan_Java_NYC 2019-12-21 09:43
阅读:241
评论:0
推荐:0
编辑
LeetCode 540. Single Element in a Sorted Array
Dylan_Java_NYC 2019-12-16 10:40
阅读:293
评论:0
推荐:0
编辑
LeetCode 528. Random Pick with Weight
Dylan_Java_NYC 2019-12-11 11:23
阅读:377
评论:0
推荐:0
编辑
LeetCode 911. Online Election
Dylan_Java_NYC 2019-11-24 13:30
阅读:191
评论:0
推荐:0
编辑
LeetCode 704. Binary Search
Dylan_Java_NYC 2019-11-24 12:07
阅读:372
评论:0
推荐:0
编辑
LeetCode 702. Search in a Sorted Array of Unknown Size
Dylan_Java_NYC 2019-11-24 12:03
阅读:1310
评论:0
推荐:0
编辑
LeetCode 981. Time Based Key-Value Store
Dylan_Java_NYC 2019-11-24 11:49
阅读:571
评论:0
推荐:0
编辑
1
2
3
下一页
公告
昵称:
Dylan_Java_NYC
园龄:
9年6个月
粉丝:
9
关注:
1
+加关注
搜索
常用链接
我的随笔
我的评论
我的参与
最新评论
我的标签
我的标签
LeetCode
(988)
Array
(206)
DP
(153)
String
(151)
Tree
(135)
DFS
(127)
HashMap
(103)
BFS
(75)
Math
(72)
Two Pointers
(71)
更多
随笔档案
2024年11月(1)
2024年10月(1)
2024年8月(17)
2024年7月(9)
2024年6月(10)
2024年5月(16)
2024年4月(16)
2024年3月(11)
2024年2月(2)
2023年2月(1)
2022年10月(16)
2022年9月(8)
2022年8月(26)
2022年7月(15)
2022年6月(18)
2022年5月(4)
2022年4月(4)
2021年3月(2)
2020年5月(1)
2020年3月(10)
2020年2月(19)
2020年1月(33)
2019年12月(68)
2019年11月(46)
2019年10月(5)
2019年9月(20)
2019年8月(31)
2019年7月(15)
2019年6月(22)
2018年10月(2)
2018年9月(4)
2018年8月(1)
2018年7月(3)
2018年3月(1)
2018年2月(8)
2018年1月(18)
2017年12月(5)
2017年11月(13)
2017年10月(36)
2017年9月(48)
2017年8月(2)
2017年6月(10)
2017年4月(12)
2017年3月(11)
2017年2月(25)
2017年1月(36)
2016年12月(7)
2016年11月(2)
2016年10月(2)
2016年9月(2)
2016年8月(3)
2016年4月(5)
2016年3月(43)
2016年2月(25)
2016年1月(13)
2015年12月(5)
2015年11月(29)
2015年10月(57)
2015年9月(99)
2015年8月(51)
2015年7月(8)
更多
阅读排行榜
1. LeetCode 1152. Analyze User Website Visit Pattern(5105)
2. LeetCode 1102. Path With Maximum Minimum Value(3988)
3. LeetCode 1135. Connecting Cities With Minimum Cost(3628)
4. LeetCode 1153. String Transforms Into Another String(2996)
5. LeetCode 1099. Two Sum Less Than K(2565)
评论排行榜
1. LeetCode 1197. Minimum Knight Moves(3)
2. LeetCode 958. Check Completeness of a Binary Tree(1)
最新评论
1. Re:LeetCode 1197. Minimum Knight Moves
@Gavin_Huang For example, to reach (1,1) from (0, 0), the best way is to get (2, -1) or (-1, 2) firs...
--CNoodle
2. Re:LeetCode 1197. Minimum Knight Moves
@Gavin_Huang 四个象限都是对称的,比如你举得例子-23, -123如果能到这个位置和到第一象限的23, 123是相同的最小步数。所以为了节省BFS的时间,只看第一象限,在最开始已经取过绝对...
--Dylan_Java_NYC
3. Re:LeetCode 1197. Minimum Knight Moves
还是没太懂 i>=-1 && j>=-1 。 万一这x,y是在比如-23,-123, 也就是第四象限,i>=-1 && j>=-1 放在那里不正好与正确答案走反方向了吗? 😭...
--Gavin_Huang
4. Re:LeetCode 958. Check Completeness of a Binary Tree
brilliant!.
--肥耳朵猫猫
点击右上角即可分享