自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(181)
  • 收藏
  • 关注

原创 Vibe Coding 近四个月有感

这部分技术选型、思考与折衷是充分讨论的,再进一步代码的项目如何组织构建,代码的核心抽象组成是什么,在这个阶段基本脑海中都定型了,还能再进一步的是,测试怎么测,部署上线验证什么,也都清清楚楚明明白白。简而言之就是,合并同类项,抽象出框架、组件、工具包,当下和后续的开发,就可以专注在业务本身上,脑子不爆炸了,上下文撑不爆了。常年在稳定业务浸泡,老一辈的程序员传递的思想又属于软件工程的时代,设计上思考扩展性,业务调整了,框架也不会大变,设计很考虑高内聚低耦合,我也还在这个惯性里。所谓,皮之不存,毛将焉附。

2026-09-09 11:54:52 151

原创 力扣周赛 503

【代码】力扣周赛 503。

2026-05-25 00:06:16 278

原创 力扣周赛 501

【代码】力扣周赛 501。

2026-05-10 17:17:27 451

原创 力扣周赛 - 498

模拟遍历会超时,思路转化为数位 dp,计算 [0…n] 有多少整数满足条件,答案就是 count® - count(l-1);数位 dp 的核心思想就是 dfs,假设统计数字从 pos 位往后填写,有多少种填法,数字长度 16。路径位置的数字必须非递减,用 last_value 来传递。引入上边界的判断,即数字不超过 n。记忆化搜索,存储路径。

2026-04-19 14:13:49 374

原创 LeetCode 1582. Special Positions in a Binary Matrix

【代码】LeetCode 1582. Special Positions in a Binary Matrix。

2026-03-04 17:54:48 53

原创 LeetCode 1536. Minimum Swaps to Arrange a Binary Grid

【代码】LeetCode 1536. Minimum Swaps to Arrange a Binary Grid。

2026-03-04 17:50:28 49

原创 LeetCode 1545. Find Kth Bit in Nth Binary String

【代码】LeetCode 1545. Find Kth Bit in Nth Binary String。

2026-03-03 15:31:43 50

原创 LeetCode 1356. Sort Integers by The Number of 1 Bits

【代码】LeetCode 1356. Sort Integers by The Number of 1 Bits。

2026-02-25 11:53:44 65

原创 LeetCode 1022. Sum of Root To Leaf Binary Numbers

【代码】LeetCode 1022. Sum of Root To Leaf Binary Numbers。

2026-02-24 14:30:15 172

原创 LeetCode 1461. Check If a String Contains All Binary Codes of Size K

【代码】LeetCode 1461. Check If a String Contains All Binary Codes of Size K。

2026-02-24 14:29:02 203

原创 力扣周赛 - 479

🔗 https://leetcode.cn/problems/sort-integers-by-binary-reflection/description/🔗 https://leetcode.cn/problems/largest-prime-from-consecutive-prime-sum/description/🔗 https://leetcode.cn/problems/total-score-of-dungeon-runs/description/🔗 https://leetcode.

2025-12-08 22:01:22 827

原创 LeetCode 594. Longest Harmonious Subsequence

【代码】LeetCode 594. Longest Harmonious Subsequence。

2025-06-30 18:26:55 540

原创 LeetCode 3423. Maximum Difference Between Adjacent Elements in a Circular Array

【代码】LeetCode 3423. Maximum Difference Between Adjacent Elements in a Circular Array。

2025-06-12 23:20:45 496

原创 LeetCode 3442. Maximum Difference Between Even and Odd Frequency I

🔗。

2025-06-10 17:59:18 380

原创 力扣周赛 - 441

【代码】力扣周赛 - 441。

2025-03-21 00:48:52 1815

原创 力扣 32. 最长有效括号

【代码】力扣 32. 最长有效括号。

2025-03-05 22:28:49 231

原创 力扣 4. 寻找两个正序数组的中位数

【代码】力扣 4. 寻找两个正序数组的中位数。

2025-03-05 22:26:57 412

原创 力扣 153. 寻找旋转排序数组中的最小值

【代码】力扣 153. 寻找旋转排序数组中的最小值。

2025-02-27 14:37:48 225

原创 力扣 33. 搜索旋转排序数组

【代码】力扣 33. 搜索旋转排序数组。

2025-02-26 18:04:11 209

原创 力扣 139. 单词拆分

【代码】力扣 139. 单词拆分。

2025-02-21 16:31:51 287

原创 力扣 152. 乘积最大子数组

【代码】力扣 152. 乘积最大子数组。

2025-02-21 15:22:36 278

原创 LeetCode 2375. Construct Smallest Number From DI String

【代码】LeetCode 2375. Construct Smallest Number From DI String。

2025-02-21 15:01:47 511

原创 力扣 416. 分割等和子集

【代码】力扣 416. 分割等和子集。

2025-02-17 16:41:26 233

原创 力扣 5. 最长回文子串

【代码】力扣 5. 最长回文子串。

2025-02-17 15:57:39 306

原创 LeetCode 1079. Letter Tile Possibilities

【代码】LeetCode 1079. Letter Tile Possibilities。

2025-02-17 15:16:57 267

原创 力扣 62. 不同路径

【代码】力扣 62. 不同路径。

2025-02-14 20:24:14 216

原创 力扣 64. 最小路径和

【代码】力扣 64. 最小路径和。

2025-02-14 20:22:56 287

原创 力扣 31. 下一个排列

【代码】力扣 31. 下一个排列。

2025-02-14 19:42:37 250

原创 力扣 1143. 最长公共子序列

【代码】力扣 1143. 最长公共子序列。

2025-02-14 18:02:49 224

原创 LeetCode 1352. Product of the Last K Numbers

【代码】LeetCode 1352. Product of the Last K Numbers。

2025-02-14 17:51:16 356

原创 力扣 72. 编辑距离

【代码】力扣 72. 编辑距离。

2025-02-14 17:30:32 456

原创 力扣 287. 寻找重复数

【代码】力扣 287. 寻找重复数。

2025-02-07 22:51:31 217

原创 力扣 75. 颜色分类

【代码】力扣 75. 颜色分类。

2025-02-07 22:49:59 280

原创 力扣 169. 多数元素

【代码】力扣 169. 多数元素。

2025-02-07 22:48:36 278

原创 力扣 136. 只出现一次的数字

【代码】力扣 136. 只出现一次的数字。

2025-02-07 22:46:15 212

原创 力扣 300. 最长递增子序列

【代码】力扣 300. 最长递增子序列。

2025-02-07 22:44:46 227

原创 力扣 322. 零钱兑换

【代码】力扣 322. 零钱兑换。

2025-02-07 22:42:35 206

原创 LeetCode 1726. Tuple with Same Product

【代码】LeetCode 1726. Tuple with Same Product。

2025-02-07 00:02:34 262

原创 力扣 279. 完全平方数

的完全平方数的最少数量。

2025-02-07 00:00:51 472

原创 力扣 198. 打家劫舍

【代码】力扣 198. 打家劫舍。

2025-02-05 22:29:24 307

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除