You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|216|[Combination Sum III](https://leetcode.com/problems/combination-sum-iii/)|[Solution](../master/src/main/java/com/fishercoder/solutions/_216.java)| O(k * C(n, k))|O(k) | Medium| Backtracking
361
362
|215|[Kth Largest Element in an Array](https://leetcode.com/problems/kth-largest-element-in-an-array/)|[Solution](../master/src/main/java/com/fishercoder/solutions/_215.java)| O(nlogn)|O(n) | Medium| Heap
362
363
|214|[Shortest Palindrome](https://leetcode.com/problems/shortest-palindrome/)|[Solution](../master/src/main/java/com/fishercoder/solutions/_214.java)| O(?)|O(?)| Hard | KMP
363
364
|213|[House Robber II](https://leetcode.com/problems/house-robber-ii/)|[Solution](../master/src/main/java/com/fishercoder/solutions/_213.java)| O(n)|O(n)| Medium | DP
Copy file name to clipboardExpand all lines: src/main/java/com/fishercoder/solutions/_216.java
+9-7
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,10 @@
2
2
3
3
importjava.util.*;
4
4
5
-
/**Find all possible combinations of k numbers that add up to a number n, given that only numbers from 1 to 9 can be used and each combination should be a unique set of numbers.
5
+
/**
6
+
* 216. Combination Sum III
7
+
* Find all possible combinations of k numbers that add up to a number n,
8
+
* given that only numbers from 1 to 9 can be used and each combination should be a unique set of numbers.
0 commit comments