会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Dylan_Java_NYC
博客园
首页
新随笔
联系
订阅
管理
随笔 - 1033
文章 - 0
评论 - 4
阅读 -
40万
当前标签:Greedy
1
2
3
下一页
LeetCode 2952. Minimum Number of Coins to be Added
Dylan_Java_NYC 2024-08-22 22:44
阅读:13
评论:0
推荐:0
编辑
LeetCode 1383. Maximum Performance of a Team
Dylan_Java_NYC 2024-08-13 23:43
阅读:24
评论:0
推荐:0
编辑
LeetCode 1058. Minimize Rounding Error to Meet Target
Dylan_Java_NYC 2024-08-03 04:41
阅读:14
评论:0
推荐:0
编辑
LeetCode 2263. Make Array Non-decreasing or Non-increasing
Dylan_Java_NYC 2024-07-15 23:38
阅读:39
评论:0
推荐:0
编辑
LeetCode 857. Minimum Cost to Hire K Workers
Dylan_Java_NYC 2024-07-02 11:03
阅读:11
评论:0
推荐:0
编辑
LeetCode 1013. Partition Array Into Three Parts With Equal Sum
Dylan_Java_NYC 2024-07-01 12:00
阅读:10
评论:0
推荐:0
编辑
LeetCode 2268. Minimum Number of Keypresses
Dylan_Java_NYC 2024-06-17 20:59
阅读:10
评论:0
推荐:0
编辑
LeetCode 2340. Minimum Adjacent Swaps to Make a Valid Array
Dylan_Java_NYC 2024-06-17 13:49
阅读:19
评论:0
推荐:0
编辑
LeetCode 1353. Maximum Number of Events That Can Be Attended
Dylan_Java_NYC 2024-05-18 11:11
阅读:10
评论:0
推荐:0
编辑
LeetCode 2611. Mice and Cheese
Dylan_Java_NYC 2024-05-13 07:03
阅读:6
评论:0
推荐:0
编辑
LeetCode 2116. Check if a Parentheses String Can Be Valid
Dylan_Java_NYC 2024-02-25 03:01
阅读:15
评论:0
推荐:0
编辑
LeetCode 2007. Find Original Array From Doubled Array
Dylan_Java_NYC 2022-09-17 06:32
阅读:30
评论:0
推荐:0
编辑
LeetCode 1710. Maximum Units on a Truck
Dylan_Java_NYC 2022-08-12 08:15
阅读:64
评论:0
推荐:0
编辑
LeetCode 1567. Maximum Length of Subarray With Positive Product
Dylan_Java_NYC 2022-08-12 07:58
阅读:139
评论:0
推荐:0
编辑
LeetCode 1400. Construct K Palindrome Strings
Dylan_Java_NYC 2022-08-04 14:39
阅读:20
评论:0
推荐:0
编辑
LeetCode 945. Minimum Increment to Make Array Unique
Dylan_Java_NYC 2022-07-19 07:59
阅读:85
评论:0
推荐:0
编辑
LeetCode 1541. Minimum Insertions to Balance a Parentheses String
Dylan_Java_NYC 2022-05-01 06:30
阅读:69
评论:0
推荐:0
编辑
LeetCode 1963. Minimum Number of Swaps to Make the String Balanced
Dylan_Java_NYC 2022-05-01 05:52
阅读:130
评论:0
推荐:0
编辑
LeetCode 1029. Two City Scheduling
Dylan_Java_NYC 2020-02-17 13:49
阅读:300
评论:0
推荐:0
编辑
LeetCode 1055. Shortest Way to Form String
Dylan_Java_NYC 2020-01-17 08:52
阅读:1659
评论:0
推荐:0
编辑
1
2
3
下一页
公告
昵称:
Dylan_Java_NYC
园龄:
9年5个月
粉丝:
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(5101)
2. LeetCode 1102. Path With Maximum Minimum Value(3986)
3. LeetCode 1135. Connecting Cities With Minimum Cost(3625)
4. LeetCode 1153. String Transforms Into Another String(2993)
5. LeetCode 1099. Two Sum Less Than K(2561)
评论排行榜
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!.
--肥耳朵猫猫
点击右上角即可分享