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 af0ff74 commit 416793eCopy full SHA for 416793e
house-robber/jun0811.js
@@ -14,4 +14,4 @@ var rob = function(nums) {
14
dp[i] = tmp1> tmp2 ? tmp1 : tmp2
15
}
16
return dp[n-1] > dp[n-2] ? dp[n-1] : dp[n-2]
17
-};
+};
0 commit comments