Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
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...