Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d4e4b6e

Browse files
author
robot
committed
feat: 2024-06
1 parent afabb87 commit d4e4b6e

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -463,11 +463,14 @@ leetcode 题解,记录自己的 leetcode 解题之路。
463463
- 状态压缩
464464
- 剪枝
465465

466-
从逻辑上说, 要么就是非常难想到,要么就是非常难写代码。 这里我总结了几个技巧:
466+
从逻辑上说, 要么就是非常难想到,要么就是非常难写代码。 由于有时候需要组合多种算法,因此这部分题目的难度是最大的。
467+
468+
这里我总结了几个技巧:
467469

468470
1. 看题目的数据范围, 看能否暴力模拟
469471
2. 暴力枚举所有可能的算法往上套,比如图的题目。
470-
3. 总结和记忆解题模板,减少解题压力
472+
3. 对于代码非常难写的题目,可以总结和记忆解题模板,减少解题压力
473+
4. 对于组合多种算法的题目,先尝试简化问题,将问题划分成几个小问题,然后再组合起来。
471474

472475
以下是我列举的经典题目(带 91 字样的表示出自 **91 天学算法**活动):
473476

@@ -563,6 +566,7 @@ leetcode 题解,记录自己的 leetcode 解题之路。
563566
- [2972. 统计移除递增子数组的数目 II](./problems/2972.count-the-number-of-incremovable-subarrays-ii.md)
564567
- [3027. 人员站位的方案数 II](./problems/3027.find-the-number-of-ways-to-place-people-ii.md)
565568
- [3041. 修改数组后最大化数组中的连续元素数目 ](./problems/3041.maximize-consecutive-elements-in-an-array-after-modification.md)
569+
- [3082. 求出所有子序列的能量和 ](./problems/3082.find-the-sum-of-the-power-of-all-subsequences.md)
566570
- [3108. 带权图里旅途的最小代价](./problems/3108.minimum-cost-walk-in-weighted-graph.md)
567571

568572
## :trident:  anki 卡片

SUMMARY.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -375,6 +375,7 @@
375375
- [2972. 统计移除递增子数组的数目 II](./problems/2972.count-the-number-of-incremovable-subarrays-ii.md)
376376
- [3027. 人员站位的方案数 II](./problems/3027.find-the-number-of-ways-to-place-people-ii.md)
377377
- [3041. 修改数组后最大化数组中的连续元素数目 ](./problems/3041.maximize-consecutive-elements-in-an-array-after-modification.md)
378+
- [3082. 求出所有子序列的能量和 ](./problems/3082.find-the-sum-of-the-power-of-all-subsequences.md)
378379
- [3108. 带权图里旅途的最小代价](./problems/3108.minimum-cost-walk-in-weighted-graph.md)
379380

380381
- [后序](epilogue.md)

0 commit comments

Comments
 (0)