自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 <Talk is cheap, show me the code 40> Leetcode.349 两个数组的交集

【代码】<Talk is cheap, show me the code 40> Leetcode.349 两个数组的交集。

2024-07-18 19:55:34 188

原创 <Talk is cheap, show me the code 39> Leetcode.142 环形链表 II

【代码】<Talk is cheap, show me the code 39> Leetcode.142 环形链表 II。

2024-07-18 10:46:46 157

原创 <Talk is cheap, show me the code 38> 链表相交

【代码】<Talk is cheap, show me the code 38> 链表相交。

2024-07-16 17:18:05 405

原创 <Talk is cheap, show me the code 37> LeetCode.19 删除链表的倒数第N个结点

【代码】<Talk is cheap, show me the code 37> LeetCode.19 删除链表的倒数第N个结点。

2024-07-16 00:14:36 189

原创 <Talk is cheap, show me the code 36> LeetCode.24 两两交换链表中的节点

【代码】<Talk is cheap, show me the code 36> LeetCode.24 两两交换链表中的节点。

2024-07-13 22:17:21 177

原创 <Talk is cheap, show me the code 35> LeetCode.206 反转链表

【代码】<Talk is cheap, show me the code 35> LeetCode.206 两个字符串的删除操作。

2024-07-12 15:50:09 184

原创 <Talk is cheap, show me the code 34> LeetCode.583 两个字符串的删除操作

【代码】<Talk is cheap, show me the code 34> LeetCode.583 两个字符串的删除操作。

2024-07-12 15:25:33 174

原创 <Talk is cheap, show me the code 33> LeetCode.203 移除链表元素

【代码】<Talk is cheap, show me the code 33> LeetCode.203 移除链表元素。

2024-07-11 20:20:53 348

原创 <Talk is cheap, show me the code 32> LeetCode.209 长度最小的子数组

【代码】<Talk is cheap, show me the code 32> LeetCode.209 长度最小的子数组。

2024-07-11 16:35:43 137

原创 <Talk is cheap, show me the code 31> LeetCode.115 不同的子序列

【代码】<Talk is cheap, show me the code 31> LeetCode.115 不同的子序列。

2024-07-11 15:09:35 450

原创 <Talk is cheap, show me the code 30> LeetCode.977 有序数组的平方

【代码】<Talk is cheap, show me the code 30> LeetCode.977 有序数组的平方。

2024-07-10 16:58:12 218

原创 <Talk is cheap, show me the code 29> LeetCode.392 判断子序列

【代码】<Talk is cheap, show me the code 29> LeetCode.392 判断子序列。

2024-07-10 16:16:46 169

原创 <Talk is cheap, show me the code 28> LeetCode.53 最大子数组和

【代码】<Talk is cheap, show me the code 28> LeetCode.53 最大子数组和。

2024-07-10 15:48:55 174

原创 <Talk is cheap, show me the code 27> LeetCode.27 移除元素

【代码】<Talk is cheap, show me the code 27> LeetCode.27 移除元素。

2024-07-09 16:54:43 473

原创 <Talk is cheap, show me the code 26> LeetCode.1035 不相交的线

【代码】<Talk is cheap, show me the code 26> LeetCode.1035 不相交的线。

2024-07-09 16:10:22 171

原创 <Talk is cheap, show me the code 25> LeetCode.704 二分查找

【代码】<Talk is cheap, show me the code 25> LeetCode.704 二分查找。

2024-07-08 11:42:54 140

原创 <Talk is cheap, show me the code 24> LeetCode.1143 最长公共子序列

【代码】<Talk is cheap, show me the code 24> LeetCode.1143 最长公共子序列。

2024-07-08 11:30:10 160

原创 <Talk is cheap, show me the code 23> LeetCode.718 最长重复子数组

【代码】<Talk is cheap, show me the code 22> LeetCode.674 最长连续递增序列。

2024-07-08 11:03:50 176

原创 <Talk is cheap, show me the code 22> LeetCode.674 最长连续递增序列

【代码】<Talk is cheap, show me the code 22> LeetCode.674 最长连续递增序列。

2024-07-06 18:28:39 152

原创 <Talk is cheap, show me the code 21> LeetCode.300 最长递增子序列

【代码】<Talk is cheap, show me the code 21> LeetCode.300 最长递增子序列。

2024-07-05 14:35:52 189

原创 <Talk is cheap, show me the code 20> LeetCode.121 买卖股票的最佳时机

【代码】<Talk is cheap, show me the code 20> LeetCode.121 买卖股票的最佳时机。

2024-07-03 19:09:37 155

原创 <Talk is cheap, show me the code 19> LeetCode.213 打家劫舍 II

【代码】<Talk is cheap, show me the code 19> LeetCode.213 打家劫舍 II。

2024-07-02 19:53:53 189

原创 <Talk is cheap, show me the code 18> LeetCode.198 打家劫舍

【代码】<Talk is cheap, show me the code 18> LeetCode.198 打家劫舍。

2024-07-02 18:59:13 377

原创 <Talk is cheap, show me the code 17> LeetCode.279 完全平方数

【代码】<Talk is cheap, show me the code 17> LeetCode.279 完全平方数。

2024-06-30 23:44:10 135

原创 <Talk is cheap, show me the code 16> LeetCode.322 零钱兑换

【代码】<Talk is cheap, show me the code 16> LeetCode.322 零钱兑换。

2024-06-30 19:52:45 314

原创 <Talk is cheap, show me the code 15> 卡玛网.57 爬楼梯

【代码】<Talk is cheap, show me the code 15> 卡玛网.57 爬楼梯。

2024-06-30 00:22:31 213

原创 <Talk is cheap, show me the code 14> LeetCode.377 组合总和 IV

if(j >= nums[i] && dp[j] < INT_MAX - dp[j - nums[i]]) //dp[j]溢出,不加入该元素。j ++){ //组合中元素没有顺序要求,因此要先遍历元素总和j再遍历每个元素。dp[j] : 从nums中选择元素,元素可放回,总和为j的最大元素组合数。dp[j] = max(不选择该元素,选择该元素)

2024-06-29 14:57:36 294

原创 <Talk is cheap, show me the code 13> LeetCode.518 零钱兑换

【代码】<Talk is cheap, show me the code 13> LeetCode.518 零钱兑换。

2024-06-28 16:27:36 164

原创 <Talk is cheap, show me the code 12> 完全背包问题

【代码】<Talk is cheap, show me the code 11> 完全背包问题。

2024-06-28 15:55:39 145

原创 <Talk is cheap, show me the code 11> LeetCode.474 一和零

dp[i][j] : 表示在strs数组中选,同时保证0的数量

2024-06-27 20:13:38 314

原创 <Talk is cheap, show me the code 10> LeetCode.494 目标和

【代码】<Talk is cheap, show me the code 09> LeetCode.494 目标和。

2024-06-27 11:46:53 181

原创 <Talk is cheap, show me the code 09> LeetCode.1049 最后一块石头的重量 II

【代码】<Talk is cheap, show me the code 09> LeetCode.1049 最后一块石头的重量 II。

2024-06-26 21:53:19 158

原创 <Talk is cheap, show me the code 08> LeetCode.416 分割等和子集

【代码】<Talk is cheap, show me the code 08> LeetCode.416 分割等和子集。

2024-06-26 19:39:52 154

原创 <Talk is cheap, show me the code 07>01背包问题

【代码】<Talk is cheap, show me the code 07>01背包问题。

2024-06-26 14:13:41 161

原创 <Talk is cheap, show me the code 06> LeetCode.96 不同的二叉搜索树

【代码】<Talk is cheap, show me the code 06> LeetCode.96 不同的二叉搜索树。

2024-06-26 00:24:24 169

原创 <Talk is cheap, show me the code 05> LeetCode.343 整数拆分

【代码】<Talk is cheap, show me the code 03> LeetCode.343 整数拆分。

2024-06-25 17:48:32 179

原创 <Talk is cheap, show me the code 04> LeetCode.63 不同路径 II

【代码】<Talk is cheap, show me the code 03> LeetCode.63 不同路径 II。

2024-06-25 14:45:11 161

原创 <Talk is cheap, show me the code 03> LeetCode.62 不同路径

【代码】<Talk is cheap, show me the code 02> LeetCode.62 不同路径。

2024-06-24 23:39:06 187 1

原创 <Talk is cheap, show me the code 02> LeetCode.746 使用最小花费爬楼梯

【代码】<Talk is cheap, show me the code 01> LeetCode.746 使用最小花费爬楼梯。

2024-06-24 16:10:58 389

原创 <Talk is cheap, show me the code 01> LeetCode.70 爬楼梯

仅用代码展示题解,帮助读者快速了解算法

2024-06-24 16:10:06 178

空空如也

空空如也

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

TA关注的人

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