Skip to content

Commit c279580

Browse files
committed
Add 040 note.
1 parent f74082a commit c279580

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
## 040. Combination Sum II (Medium)
2+
3+
### **链接**
4+
题目:https://leetcode.com/problems/combination-sum-ii/
5+
代码(github):https://github.com/illuz/leetcode
6+
7+
### **题意**
8+
跟 039 一样(给出一些正整数集合,以及一个目标数,从集合中选择一些数使得它们的和等于目标数),不过不能选重复的数。
9+
10+
### **分析**
11+
12+
同样暴力 DFS,不过要考虑重复会复杂点。
13+
还要考虑解集里不能有相同的解。

0 commit comments

Comments
 (0)