mirror of
https://github.com/krahets/hello-algo.git
synced 2024-12-25 14:36:29 +08:00
Update the page tree
This commit is contained in:
parent
f5b8978330
commit
0ade8d87ad
2 changed files with 3 additions and 2 deletions
|
@ -11,6 +11,7 @@ vector<vector<TreeNode *>> res;
|
||||||
|
|
||||||
/* 前序遍历 */
|
/* 前序遍历 */
|
||||||
static void preOrder(TreeNode *root) {
|
static void preOrder(TreeNode *root) {
|
||||||
|
// 剪枝
|
||||||
if (root == nullptr || root->val == 3) {
|
if (root == nullptr || root->val == 3) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
|
@ -169,7 +169,7 @@ nav:
|
||||||
- 9. 图:
|
- 9. 图:
|
||||||
- 9.1. 图: chapter_graph/graph.md
|
- 9.1. 图: chapter_graph/graph.md
|
||||||
- 9.2. 图基础操作: chapter_graph/graph_operations.md
|
- 9.2. 图基础操作: chapter_graph/graph_operations.md
|
||||||
- 9.3. 图的遍历(New): chapter_graph/graph_traversal.md
|
- 9.3. 图的遍历: chapter_graph/graph_traversal.md
|
||||||
- 9.4. 小结: chapter_graph/summary.md
|
- 9.4. 小结: chapter_graph/summary.md
|
||||||
- 10. 查找算法:
|
- 10. 查找算法:
|
||||||
- 10.1. 线性查找: chapter_searching/linear_search.md
|
- 10.1. 线性查找: chapter_searching/linear_search.md
|
||||||
|
@ -187,7 +187,7 @@ nav:
|
||||||
- 11.8. 基数排序(New): chapter_sorting/radix_sort.md
|
- 11.8. 基数排序(New): chapter_sorting/radix_sort.md
|
||||||
- 11.9. 小结: chapter_sorting/summary.md
|
- 11.9. 小结: chapter_sorting/summary.md
|
||||||
- 12. 回溯算法:
|
- 12. 回溯算法:
|
||||||
- 12.1. 回溯算法: chapter_backtracking/backtracking_algorithm.md
|
- 12.1. 回溯算法(New): chapter_backtracking/backtracking_algorithm.md
|
||||||
- 13. 附录:
|
- 13. 附录:
|
||||||
- 13.1. 编程环境安装: chapter_appendix/installation.md
|
- 13.1. 编程环境安装: chapter_appendix/installation.md
|
||||||
- 13.2. 一起参与创作: chapter_appendix/contribution.md
|
- 13.2. 一起参与创作: chapter_appendix/contribution.md
|
||||||
|
|
Loading…
Reference in a new issue