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 5111968 commit 51a8c31Copy full SHA for 51a8c31
house-robber/samthekorean.py
@@ -1,5 +1,5 @@
1
# TC : O(n)
2
-# SC : O(1)
+# SC : O(n)
3
class Solution:
4
def rob(self, nums):
5
n = len(nums)
0 commit comments