会员
商店
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Grandyang
仰天长啸仗剑红尘,冬去春来寒暑几更...
博客园
首页
新随笔
联系
订阅
管理
随笔 - 1761
文章 - 1
评论 - 4854
阅读 -
1559万
我的随笔
上一页
1
2
3
4
5
6
7
···
45
下一页
[LeetCode] 1288. Remove Covered Intervals 删除被覆盖区间
Grandyang 2022-03-22 13:45
阅读:457
评论:0
推荐:0
编辑
[LeetCode] 1287. Element Appearing More Than 25% In Sorted Array 有序数组中出现次数超过25%的元素
Grandyang 2022-03-20 08:31
阅读:395
评论:0
推荐:0
编辑
[LeetCode] 1286. Iterator for Combination 字母组合迭代器
Grandyang 2022-03-07 13:54
阅读:392
评论:0
推荐:0
编辑
[LeetCode] 1284. Minimum Number of Flips to Convert Binary Matrix to Zero Matrix 转化为全零矩阵的最少反转次数
Grandyang 2022-02-28 23:52
阅读:485
评论:0
推荐:0
编辑
[LeetCode] 1283. Find the Smallest Divisor Given a Threshold 使结果不超过阈值的最小除数
Grandyang 2022-01-17 20:34
阅读:393
评论:0
推荐:0
编辑
[LeetCode] 1282. Group the People Given the Group Size They Belong To 用户分组
Grandyang 2022-01-14 19:58
阅读:395
评论:0
推荐:0
编辑
[LeetCode] 1281. Subtract the Product and Sum of Digits of an Integer 整数的各位积和之差
Grandyang 2022-01-07 19:06
阅读:306
评论:0
推荐:0
编辑
[LeetCode] 1278. Palindrome Partitioning III 拆分回文串之三
Grandyang 2022-01-03 11:18
阅读:480
评论:0
推荐:0
编辑
[LeetCode] 1277. Count Square Submatrices with All Ones 统计全为 1 的正方形子矩阵
Grandyang 2021-12-26 14:03
阅读:744
评论:0
推荐:0
编辑
[LeetCode] 1276. Number of Burgers with No Waste of Ingredients 不浪费原料的汉堡制作方案
Grandyang 2021-12-23 12:58
阅读:275
评论:0
推荐:0
编辑
[LeetCode] 1275. Find Winner on a Tic Tac Toe Game 找出井字棋的获胜者
Grandyang 2021-12-19 13:09
阅读:729
评论:0
推荐:0
编辑
[LeetCode] 1269. Number of Ways to Stay in the Same Place After Some Steps 停在原地的方案数
Grandyang 2021-12-17 16:35
阅读:448
评论:0
推荐:0
编辑
[LeetCode] 1268. Search Suggestions System 搜索推荐系统
Grandyang 2021-12-12 16:44
阅读:955
评论:0
推荐:0
编辑
[LeetCode] 1266. Minimum Time Visiting All Points 访问所有点的最小时间
Grandyang 2021-12-08 10:29
阅读:464
评论:0
推荐:0
编辑
[LeetCode] 1263. Minimum Moves to Move a Box to Their Target Location 推箱子
Grandyang 2021-12-05 15:39
阅读:706
评论:0
推荐:0
编辑
[LeetCode] 1262. Greatest Sum Divisible by Three 可被三整除的最大和
Grandyang 2021-12-01 14:42
阅读:797
评论:0
推荐:0
编辑
[LeetCode] 1261. Find Elements in a Contaminated Binary Tree 在受污染的二叉树中查找元素
Grandyang 2021-11-27 14:07
阅读:377
评论:0
推荐:0
编辑
[LeetCode] 1260. Shift 2D Grid 二维网格迁移
Grandyang 2021-11-23 23:58
阅读:1943
评论:0
推荐:0
编辑
[LeetCode] 1255. Maximum Score Words Formed by Letters 得分最高的单词集合
Grandyang 2021-11-22 02:05
阅读:916
评论:0
推荐:0
编辑
[LeetCode] 1254. Number of Closed Islands 统计封闭岛屿的数目
Grandyang 2021-11-19 11:04
阅读:1115
评论:0
推荐:0
编辑
[LeetCode] 1253. Reconstruct a 2-Row Binary Matrix 重构 2 行二进制矩阵
Grandyang 2021-11-14 05:38
阅读:448
评论:0
推荐:0
编辑
[LeetCode] 1252. Cells with Odd Values in a Matrix 奇数值单元格的数目
Grandyang 2021-11-10 11:55
阅读:552
评论:0
推荐:0
编辑
[LeetCode] 1250. Check If It Is a Good Array 检查好数组
Grandyang 2021-11-08 12:33
阅读:463
评论:0
推荐:0
编辑
[LeetCode] 1249. Minimum Remove to Make Valid Parentheses 移除无效的括号
Grandyang 2021-11-06 09:29
阅读:1776
评论:1
推荐:0
编辑
[LeetCode] 1248. Count Number of Nice Subarrays 统计优美子数组
Grandyang 2021-10-31 09:42
阅读:820
评论:0
推荐:0
编辑
[LeetCode] 1247. Minimum Swaps to Make Strings Equal 交换字符使得字符串相同
Grandyang 2021-10-23 13:04
阅读:586
评论:0
推荐:0
编辑
[AWS] Solve Error: Uploaded file must be a non-empty zip
Grandyang 2021-10-21 13:06
阅读:1315
评论:0
推荐:0
编辑
[LeetCode] 1240. Tiling a Rectangle with the Fewest Squares 铺瓷砖
Grandyang 2021-10-20 13:31
阅读:1009
评论:0
推荐:0
编辑
[LeetCode] 1239. Maximum Length of a Concatenated String with Unique Characters 串联字符串的最大长度
Grandyang 2021-10-17 11:36
阅读:882
评论:0
推荐:0
编辑
Solve Warning: The elevation provided <Paper elevation={24}> is not available in the theme.
Grandyang 2021-10-14 22:51
阅读:433
评论:0
推荐:0
编辑
[LeetCode] 1238. Circular Permutation in Binary Representation 循环码排列
Grandyang 2021-10-14 10:18
阅读:330
评论:0
推荐:0
编辑
[LeetCode] 1237. Find Positive Integer Solution for a Given Equation 找出给定方程的正整数解
Grandyang 2021-10-12 12:28
阅读:384
评论:0
推荐:0
编辑
[LeetCode] 1235. Maximum Profit in Job Scheduling 规划兼职工作
Grandyang 2021-10-11 02:04
阅读:1844
评论:0
推荐:0
编辑
[LeetCode] 1234. Replace the Substring for Balanced String 替换子串得到平衡字符串
Grandyang 2021-10-07 23:28
阅读:484
评论:1
推荐:0
编辑
[AWS] Solve CodeBuild Issue: Certificate verification failed: The certificate is NOT trusted
Grandyang 2021-10-07 12:55
阅读:783
评论:0
推荐:0
编辑
[LeetCode] 1233. Remove Sub-Folders from the Filesystem 删除子文件夹
Grandyang 2021-10-06 11:46
阅读:360
评论:0
推荐:0
编辑
Solve Error: ENFILE: file table overflow
Grandyang 2021-10-04 07:56
阅读:647
评论:0
推荐:0
编辑
[LeetCode] 1232. Check If It Is a Straight Line 缀点成线
Grandyang 2021-10-03 07:23
阅读:580
评论:0
推荐:0
编辑
[LeetCode] 1227. Airplane Seat Assignment Probability 飞机座位分配概率
Grandyang 2021-10-01 11:56
阅读:989
评论:0
推荐:0
编辑
[LeetCode] 1224. Maximum Equal Frequency 最大相等频率
Grandyang 2021-09-27 08:58
阅读:543
评论:0
推荐:0
编辑
上一页
1
2
3
4
5
6
7
···
45
下一页
公告
网页版APP,欢迎使用~
grandyang.com
Github同步地址,欢迎star❤️
github.com/grandyang/leetcode
欢迎使用本博客的 Chrome/Edge 插件【Grandyang Blogs】~
Chrome版本
Edge版本
搜索【shua2sum】或扫描二维码关注微信公众号【刷尽天下】
使用方法:
- 回复数字【0】随机推送一道题。
- 回复区间【1 - 1350】内任意数字推送对应的题目。
- 回复关键字 例如【Two Sum】推送对应的题目。
- 回复【all】推送题目汇总列表。
- 回复【other】推送相关总结帖。
- 回复任意文字跟博主留言交流^ . ^
喜欢本博客可以请博主喝杯咖啡~
https://www.buymeacoffee.com/grandyang
微信打赏
Venmo 打赏
昵称:
Grandyang
园龄:
13年
粉丝:
1360
关注:
36
+加关注
<
2025年3月
>
日
一
二
三
四
五
六
23
24
25
26
27
28
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
1
2
3
4
5
搜索
最新随笔
1.[LeetCode] 1370. Increasing Decreasing String 上升下降字符串
2.[LeetCode] 1368. Minimum Cost to Make at Least One Valid Path in a Grid 使网格图至少有一条有效路径的最小代价
3.[LeetCode] 1367. Linked List in Binary Tree 二叉树中的链表
4.[LeetCode] 1366. Rank Teams by Votes 通过投票对团队排名
5.[LeetCode] 1365. How Many Numbers Are Smaller Than the Current Number 有多少小于当前数字的数字
6.[LeetCode] 1363. Largest Multiple of Three 形成三的最大倍数
7.[LeetCode] 1362. Closest Divisors 最接近的因数
8.[LeetCode] 1361. Validate Binary Tree Nodes 验证二叉树
9.[LeetCode] 1360. Number of Days Between Two Dates 日期之间隔几天
10.[LeetCode] 1359. Count All Valid Pickup and Delivery Options 有效的快递序列数目
积分与排名
积分 - 3764822
排名 - 26
随笔分类
.Net Core(1)
3D Visualization(12)
Algorithms(8)
Amazon Web Service(13)
C/C++, Java, Python(35)
CareerCup(150)
CUDA/OpenCL(1)
Digital Image Processing(3)
Entertainment(6)
GTK+/VTK/ITK/FLTK(20)
Hexo(8)
IOS(7)
LaTex(3)
LeetCode(1208)
LintCode(101)
MatLab(10)
Maya / 3ds Max(10)
MySQL(2)
Node.js / JavaScript(10)
OpenCV(37)
Point Grey Research(11)
Qt(49)
React / Material UI(2)
Software/Tools(6)
Useful Links(34)
更多
随笔档案
2025年1月(1)
2024年12月(1)
2024年8月(1)
2024年7月(1)
2024年5月(1)
2024年1月(1)
2023年12月(1)
2023年11月(3)
2023年10月(4)
2023年9月(2)
2023年8月(1)
2023年7月(1)
2023年6月(4)
2023年5月(3)
2023年4月(4)
2023年3月(3)
2023年2月(4)
2023年1月(4)
2022年12月(2)
2022年11月(2)
2022年10月(3)
2022年9月(4)
2022年8月(4)
2022年7月(3)
2022年6月(7)
2022年5月(7)
2022年4月(6)
2022年3月(5)
2022年2月(1)
2022年1月(4)
2021年12月(8)
2021年11月(8)
2021年10月(15)
2021年9月(11)
2021年8月(19)
2021年7月(14)
2021年6月(8)
2021年5月(12)
2021年4月(13)
2021年3月(26)
2021年2月(29)
2021年1月(25)
2020年12月(24)
2020年11月(3)
2020年10月(1)
2020年9月(1)
2020年8月(3)
2020年7月(4)
2020年6月(4)
2020年5月(5)
2020年4月(5)
2020年3月(3)
2020年2月(5)
2020年1月(3)
2019年12月(2)
2019年11月(4)
2019年10月(9)
2019年9月(8)
2019年8月(10)
2019年7月(8)
2019年6月(13)
2019年5月(16)
2019年4月(14)
2019年3月(10)
2019年2月(12)
2019年1月(10)
2018年12月(8)
2018年11月(19)
2018年10月(9)
2018年9月(6)
2018年8月(8)
2018年7月(11)
2018年6月(10)
2018年5月(11)
2018年4月(13)
2018年3月(15)
2018年2月(14)
2018年1月(17)
2017年12月(12)
2017年11月(16)
2017年10月(29)
2017年9月(21)
2017年8月(10)
2017年7月(12)
2017年6月(21)
2017年5月(26)
2017年4月(18)
2017年3月(22)
2017年2月(23)
2017年1月(13)
2016年12月(26)
2016年11月(30)
2016年10月(30)
2016年9月(24)
2016年8月(40)
2016年7月(31)
2016年6月(33)
2016年5月(30)
2016年4月(70)
2016年3月(32)
2016年2月(32)
2016年1月(25)
2015年12月(3)
2015年11月(36)
2015年10月(43)
2015年9月(51)
2015年8月(46)
2015年7月(45)
2015年6月(29)
2015年5月(28)
2015年4月(42)
2015年3月(55)
2015年2月(61)
2015年1月(27)
2014年12月(8)
2014年11月(27)
2014年10月(34)
2014年9月(5)
更多
阅读排行榜
1. LeetCode All in One 题目讲解汇总(持续更新中...)(1312010)
2. [LeetCode] 1. Two Sum 两数之和(160280)
3. [LeetCode] 15. 3Sum 三数之和(96399)
4. Manacher's Algorithm 马拉车算法(86692)
5. Qt qDebug() 的使用方法(83832)
6. [LeetCode] 4. Median of Two Sorted Arrays 寻找两个正序数组的中位数(81552)
7. [LeetCode] 5. Longest Palindromic Substring 最长回文子串(80923)
8. [LeetCode] 3. Longest Substring Without Repeating Characters 无重复字符的最长子串(69015)
9. [LeetCode] 10. Regular Expression Matching 正则表达式匹配(60722)
10. [LeetCode] 253. Meeting Rooms II 会议室之二(56206)
评论排行榜
1. LeetCode All in One 题目讲解汇总(持续更新中...)(156)
2. [LeetCode] 4. Median of Two Sorted Arrays 寻找两个正序数组的中位数(40)
3. Manacher's Algorithm 马拉车算法(36)
4. [FlyCapture2] Bumblebee XB3 Save Images to Three AVI Files (Left, Center and Right) 大黄蜂立体相机保存捕获的视频到左中右三个不同的文件(35)
5. LeetCode Binary Search Summary 二分搜索法小结(32)
推荐排行榜
1. LeetCode All in One 题目讲解汇总(持续更新中...)(116)
2. Manacher's Algorithm 马拉车算法(23)
3. [LeetCode] 1. Two Sum 两数之和(14)
4. Reward List 赏金列表(8)
5. [LeetCode] 94. Binary Tree Inorder Traversal 二叉树的中序遍历(8)
最新评论
1. Re:[LeetCode] 9. Palindrome Number 验证回文数字
那要是x=101101呢用的第一种方法
--yang__sir
2. Re:[LeetCode] 772. Basic Calculator III 基本计算器之三
@howard144 prevP是什么...
--liang302
3. Re:[LeetCode] 1072. Flip Columns For Maximum Number of Equal Rows 按列翻转得到最大值等行数
若直接将两行编码成 "01" 和 "10",并不能达到统计的效果 这里可以加一句"为了让1010..0 与0101..1是同样的形式,这样change之后结果才能把11111和00000的算作一种,即...
--Cu3S
4. Re:[LeetCode] 1072. Flip Columns For Maximum Number of Equal Rows 按列翻转得到最大值等行数
而对于例子3,后两行经过翻转后可以变为相同的行, 这句话改成 通过翻转最后一列可以让后两行都变成“同一行的元素完全一样”的形式。更合适吧,不然太容易有误导性了,当然结合题目不会有人像我一样撒敷敷的把 ...
--Cu3S
5. Re:[LeetCode] 1072. Flip Columns For Maximum Number of Equal Rows 按列翻转得到最大值等行数
这里省略了最重要的证明部分,即“两个pattern相同的行,最后一定能转换成全部元素都一样的行”。 直接从case3也能看懂,但是博主没提这一点,以及思路为何是正确的,倒像是在解说别人的代码还不得要领...
--Cu3S
喜欢请打赏
Venmo
微信
公告
扫描二维码打赏
Venmo 打赏
查看赏金列表
点击右上角即可分享