We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 03ded85 commit 9ab7f5fCopy full SHA for 9ab7f5f
combination-sum/minji-go.java
@@ -2,10 +2,8 @@
2
Problem: https://leetcode.com/problems/combination-sum/
3
Description: return a list of all unique combinations of candidates where the chosen numbers sum to target
4
Concept: Array, Backtracking
5
- Time Complexity: O(Nⁿ), Runtime 2ms
6
- Space Complexity: O(N), Memory 44.88MB
7
-
8
- - Time Complexity, Space Complexity를 어떻게 계산해야할지 어렵네요 :(
+ Time Complexity: O(Nᵀ), Runtime 2ms
+ Space Complexity: O(T), Memory 44.88MB
9
*/
10
class Solution {
11
public List<List<Integer>> answer = new ArrayList<>();
0 commit comments