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 called a spread operator, you can use it to define "the rest" of arguments, like (a, b, ...rest) and that'll be an array of the additional arguments. You can call this as myFunc(a, b, c, d) and the rest argument will contain [c, d]. I hope this makes sense. :)
Thank you.
Lack of test cases.
It's a nice one, just didn't really understand the purpose of "code quick, as fast as you can."
Main fn doesn't have any argument like (arr) or (n).
Why should the coder have to copy paste the houses from the description to solve the Kata?
Missing tests.
More information would be nice, like some tests, which provide something about how data will be passed.