File tree Expand file tree Collapse file tree 3 files changed +31
-0
lines changed Expand file tree Collapse file tree 3 files changed +31
-0
lines changed Original file line number Diff line number Diff line change 1
1
[#0000-25-greedy]
2
2
= Greedy Algorithms 贪心算法
3
+
4
+ == 经典例题
5
+
6
+ image::images/greedy-01.png[{image_attr}]
7
+
8
+ . xref:0455-assign-cookies.adoc[455. Assign Cookies]
9
+ . xref:1005-maximize-sum-of-array-after-k-negations.adoc[1005. Maximize Sum Of Array After K Negations]
10
+ . xref:0860-lemonade-change.adoc[860. Lemonade Change]
11
+ . xref:0376-wiggle-subsequence.adoc[376. Wiggle Subsequence]
12
+ . xref:0738-monotone-increasing-digits.adoc[738. Monotone Increasing Digits]
13
+ . xref:0122-best-time-to-buy-and-sell-stock-ii.adoc[122. Best Time to Buy and Sell Stock II]
14
+ . xref:0714-best-time-to-buy-and-sell-stock-with-transaction-fee.adoc[714. Best Time to Buy and Sell Stock with Transaction Fee]
15
+ . xref:0135-candy.adoc[135. Candy]
16
+ . xref:0406-queue-reconstruction-by-height.adoc[406. Queue Reconstruction by Height]
17
+ . xref:0055-jump-game.adoc[55. Jump Game]
18
+ . xref:0045-jump-game-ii.adoc[45. Jump Game II]
19
+ . xref:0452-minimum-number-of-arrows-to-burst-balloons.adoc[452. Minimum Number of Arrows to Burst Balloons]
20
+ . xref:0435-non-overlapping-intervals.adoc[435. Non-overlapping Intervals]
21
+ . xref:0763-partition-labels.adoc[763. Partition Labels]
22
+ . xref:0056-merge-intervals.adoc[56. Merge Intervals]
23
+ . xref:0053-maximum-subarray.adoc[53. Maximum Subarray]
24
+ . xref:0134-gas-station.adoc[134. Gas Station]
25
+ . xref:0968-binary-tree-cameras.adoc[968. Binary Tree Cameras]
26
+
27
+ image::images/greedy-02.png[{image_attr}]
28
+
29
+
30
+ == 参考资料
31
+
32
+ . https://programmercarl.com/%E8%B4%AA%E5%BF%83%E7%AE%97%E6%B3%95%E7%90%86%E8%AE%BA%E5%9F%BA%E7%A1%80.html#%E7%AE%97%E6%B3%95%E5%85%AC%E5%BC%80%E8%AF%BE[关于贪心算法,你该了解这些!
33
+ ^]
You can’t perform that action at this time.
0 commit comments