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 d8d5ea4 commit 1f003e2Copy full SHA for 1f003e2
1 file changed
combination-sum/yuseok89.py
@@ -1,5 +1,5 @@
1
-# TC: O(NlogN)
2
-# SC: O(logN)
+# TC: O(K*N!)
+# SC: O(K)
3
class Solution:
4
5
def rec(self, cur, candi, combi, sum, target, ans):
0 commit comments