We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6e8760c commit 5264f19Copy full SHA for 5264f19
combination-sum/wogha95.js
@@ -45,7 +45,7 @@ var combinationSum = function (candidates, target) {
45
46
// 1차
47
// dfs를 활용하여 각 요소를 추가 -> 재귀 -> 제거로 순회합니다.
48
-// TC: O(C^T)
+// TC: O(2^C)
49
// SC: O(T)
50
// C: candidates.length, T: target
51
0 commit comments