It's nice to know that double for loops are popular in this kata!
i don't understand what the problem is asking me to do
Exact duplicate of this problem: https://leetcode.com/problems/house-robber/ from leetcode.
This comment is hidden because it contains spoiler information about the solution
Returning -1 when there are no houses to be robbed is ridiculous. Just expect 0.
-1
0
Expected and actual are reversed for random tests.
I agree. Way too easy for 4kyu. At least in JS.
debería ser 6kyu
hahahah that is cool
Actual and expected are flipped in javascript random tests.
hahaha... not bad
Loading collection data...
It's nice to know that double for loops are popular in this kata!
i don't understand what the problem is asking me to do
Exact duplicate of this problem: https://leetcode.com/problems/house-robber/ from leetcode.
This comment is hidden because it contains spoiler information about the solution
Returning
-1
when there are no houses to be robbed is ridiculous. Just expect0
.Expected and actual are reversed for random tests.
This comment is hidden because it contains spoiler information about the solution
I agree. Way too easy for 4kyu. At least in JS.
debería ser 6kyu
This comment is hidden because it contains spoiler information about the solution
hahahah that is cool
Actual and expected are flipped in javascript random tests.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
hahaha... not bad
Loading more items...