vault backup: 2026-01-18 13:12:01

This commit is contained in:
thinkbook 2026-01-18 13:12:01 +08:00
commit 93fb805273
1 changed files with 4 additions and 0 deletions

View File

@ -16,12 +16,16 @@
- [ ] [110. 平衡二叉树 - 力扣LeetCode](https://leetcode.cn/problems/balanced-binary-tree/solutions/377216/ping-heng-er-cha-shu-by-leetcode-solution/) - [ ] [110. 平衡二叉树 - 力扣LeetCode](https://leetcode.cn/problems/balanced-binary-tree/solutions/377216/ping-heng-er-cha-shu-by-leetcode-solution/)
- [ ] [106. 从中序与后序遍历序列构造二叉树 - 力扣LeetCode](https://leetcode.cn/problems/construct-binary-tree-from-inorder-and-postorder-traversal/) - [ ] [106. 从中序与后序遍历序列构造二叉树 - 力扣LeetCode](https://leetcode.cn/problems/construct-binary-tree-from-inorder-and-postorder-traversal/)
- [ ] [501. 二叉搜索树中的众数 - 力扣LeetCode](https://leetcode.cn/problems/find-mode-in-binary-search-tree/) - [ ] [501. 二叉搜索树中的众数 - 力扣LeetCode](https://leetcode.cn/problems/find-mode-in-binary-search-tree/)
- [ ] [450. 删除二叉搜索树中的节点 - 力扣LeetCode](https://leetcode.cn/problems/delete-node-in-a-bst/)
- [ ] [40. 组合总和 II - 力扣LeetCode](https://leetcode.cn/problems/combination-sum-ii/) 重点是结果去重,技巧 - [ ] [40. 组合总和 II - 力扣LeetCode](https://leetcode.cn/problems/combination-sum-ii/) 重点是结果去重,技巧
1. 先对 candidates 排序,这样就不会出现 `[[1,2,5], [1,5,2]]` 的情况 1. 先对 candidates 排序,这样就不会出现 `[[1,2,5], [1,5,2]]` 的情况
2. 在每一个 epoch 中,循环时跳过 visited 元素,这样就不会出现 `[[1,2,5], [1,2,5]]` 的情况 2. 在每一个 epoch 中,循环时跳过 visited 元素,这样就不会出现 `[[1,2,5], [1,2,5]]` 的情况
- [ ] [131. 分割回文串 - 力扣LeetCode](https://leetcode.cn/problems/palindrome-partitioning/) - [ ] [131. 分割回文串 - 力扣LeetCode](https://leetcode.cn/problems/palindrome-partitioning/)
- [ ] [78. 子集 - 力扣LeetCode](https://leetcode.cn/problems/subsets/)子集问题实际是取树的所有节点(其他回溯是取叶子节点),所以收集结果写在终止条件 if 之前 - [ ] [78. 子集 - 力扣LeetCode](https://leetcode.cn/problems/subsets/)子集问题实际是取树的所有节点(其他回溯是取叶子节点),所以收集结果写在终止条件 if 之前
- [ ] [47. 全排列 II - 力扣LeetCode](https://leetcode.cn/problems/permutations-ii/) - [ ] [47. 全排列 II - 力扣LeetCode](https://leetcode.cn/problems/permutations-ii/)
- [ ] [51. N 皇后 - 力扣LeetCode](https://leetcode.cn/problems/n-queens/description/) 按行回溯,很经典
- [ ] [455. 分发饼干 - 力扣LeetCode](https://leetcode.cn/problems/assign-cookies/)
- [ ] [376. 摆动序列 - 力扣LeetCode](https://leetcode.cn/problems/wiggle-subsequence/)