Skip to content

Commit de7ceb8

Browse files
committed
DP
1 parent 1483f47 commit de7ceb8

File tree

1 file changed

+91
-1
lines changed

1 file changed

+91
-1
lines changed

刷题/LeetCode分类练习篇.md

Lines changed: 91 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,36 @@
77
* [6. 字符串](#6-字符串)
88
* [7. 二分搜索](#7-二分搜索)
99
* [8. 分治](#8-分治)
10-
* [9. 动态规划](#8-动态规划)
10+
* [9. 动态规划](#9-动态规划)
11+
* [10. 回溯](#10-回溯)
12+
* [11. 栈](#11-栈)
13+
* [12. 堆](#12-堆)
14+
* [13. 贪心算法](#13-贪心算法)
15+
* [14. 排序](#14-排序)
1116
* [15. 位操作](#15-位操作)
17+
* [16. 树](#16-树)
18+
* [17. 深度优先搜索](#17-深度优先搜索)
19+
* [18. 广度优先搜索](#18-广度优先搜索)
20+
* [19. 并查集UnionFind](#19-并查集UnionFind)
21+
* [20. 图](#20-图)
22+
* [21. 设计题Design](#21-设计题Design)
23+
* [22. 拓扑排序](#22-拓扑排序)
24+
* [23. 字典树Trie](#23-字典树Trie)
25+
* [24. 树状数组BinaryIndexedTree](#24-树状数组BinaryIndexedTree)
26+
* [25. 线段树SegmentTree](#25-线段树SegmentTree)
27+
* [26. 二叉搜索树](#26-二叉搜索树)
28+
* [27. 递归](#27-递归)
29+
* [28. 脑筋急转弯Brainteaser](#28-脑筋急转弯Brainteaser)
30+
* [29. Memoization](#29-Memoization)
31+
* [30. 队列](#30-队列)
32+
* [31. 极大极小值](#31-极大极小值)
33+
* [32. 蓄水池抽样问题ReservoirSampling](#32-蓄水池抽样问题ReservoirSampling)
34+
* [33. OrderedMap](#33-OrderedMap)
35+
* [34. 几何题Geometry](#34-几何题Geometry)
36+
* [35. Random](#35-Random)
37+
* [36. 拒绝采样RejectionSampling](#36-拒绝采样RejectionSampling)
38+
* [37. 滑动窗口](#37-滑动窗口)
39+
* [38. LineSweep](#38-LineSweep)
1240
<!-- GFM-TOC -->
1341

1442
# 1. 数组
@@ -1384,6 +1412,19 @@ public:
13841412
};
13851413
```
13861414
[参考](https://leetcode.com/problems/minimum-path-sum/discuss/23457/C%2B%2B-DP)
1415+
1416+
# 10. 回溯
1417+
[回溯](https://leetcode.com/problemset/all/?topicSlugs=backtracking)
1418+
```C++
1419+
```
1420+
# 11. 栈
1421+
1422+
# 12. 堆
1423+
1424+
# 13. 贪心算法
1425+
1426+
# 14. 排序
1427+
13871428
# 15. 位操作
13881429
[位操作](https://leetcode.com/problemset/all/?topicSlugs=bit-manipulation)
13891430

@@ -1518,3 +1559,52 @@ public:
15181559
}
15191560
};
15201561
```
1562+
# 16. 树
1563+
[树](https://leetcode.com/problemset/all/?topicSlugs=tree)
1564+
# 17. 深度优先搜索
1565+
[深度优先搜索](https://leetcode.com/problemset/all/?topicSlugs=depth-first-search)
1566+
# 18. 广度优先搜索
1567+
[广度优先搜索](https://leetcode.com/problemset/all/?topicSlugs=breadth-first-search)
1568+
# 19. 并查集UnionFind
1569+
[并查集](https://leetcode.com/problemset/all/?topicSlugs=union-find)
1570+
# 20. 图
1571+
[图](https://leetcode.com/problemset/all/?topicSlugs=graph)
1572+
# 21. 设计题Design
1573+
[Design](https://leetcode.com/problemset/all/?topicSlugs=design)
1574+
# 22. 拓扑排序
1575+
[拓扑排序](https://leetcode.com/problemset/all/?topicSlugs=topological-sort)
1576+
# 23. 字典树Trie
1577+
[字典树](https://leetcode.com/problemset/all/?topicSlugs=trie)
1578+
# 24. 树状数组BinaryIndexedTree
1579+
[树状数组](https://leetcode.com/problemset/all/?topicSlugs=binary-indexed-tree)
1580+
# 25. 线段树SegmentTree
1581+
[线段树](https://leetcode.com/problemset/all/?topicSlugs=segment-tree)
1582+
# 26. 二叉搜索树
1583+
[二叉搜索树](https://leetcode.com/problemset/all/?topicSlugs=binary-search-tree)
1584+
# 27. 递归
1585+
[递归](https://leetcode.com/problemset/all/?topicSlugs=recursion)
1586+
# 28. 脑筋急转弯Brainteaser
1587+
[Brainteaser](https://leetcode.com/problemset/all/?topicSlugs=brainteaser)
1588+
# 29. Memoization
1589+
[Memoization](https://leetcode.com/problemset/all/?topicSlugs=memoization)
1590+
[参考](https://blog.csdn.net/feeltouch/article/details/45072725)
1591+
是一种将`函数返回值缓存起来`的方法,Memoization 原理非常简单,就是把函数的每次执行结果都放入一个键值对或者数组中,在接下来的执行中,在键值对中查找是否已经有相应执行过的值,如果有,直接返回该值,没有执行函数体的求值部分。很明显找值尤其是在键值对中找值,比执行函数快多了。[参考](https://blog.csdn.net/feeltouch/article/details/45072725)
1592+
1593+
# 30. 队列
1594+
[队列](https://leetcode.com/problemset/all/?topicSlugs=queue)
1595+
# 31. 极大极小值
1596+
[Minimax](https://leetcode.com/problemset/all/?topicSlugs=minimax)
1597+
# 32. 蓄水池抽样问题ReservoirSampling
1598+
[蓄水池抽样问题](https://leetcode.com/problemset/all/?topicSlugs=reservoir-sampling)
1599+
# 33. OrderedMap
1600+
[OrderedMap](https://leetcode.com/problemset/all/?topicSlugs=ordered-map)
1601+
# 34. 几何题Geometry
1602+
[几何](https://leetcode.com/problemset/all/?topicSlugs=geometry)
1603+
# 35. Random
1604+
[Random](https://leetcode.com/problemset/all/?topicSlugs=random)
1605+
# 36. 拒绝采样RejectionSampling
1606+
[拒绝采样](https://leetcode.com/problemset/all/?topicSlugs=rejection-sampling)
1607+
# 37. 滑动窗口
1608+
[滑动窗口](https://leetcode.com/problemset/all/?topicSlugs=sliding-window)
1609+
# 38. LineSweep
1610+
[扫描线算法](https://leetcode.com/problemset/all/?topicSlugs=line-sweep)

0 commit comments

Comments
 (0)