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.
Good question but terrible description aand broken sample test cases. Please fix them!
Those are two lists with 3 items, the structure is the same.
Not a kata issue, they have the same nested structure, not the same items: sameStructureAs.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Can you please edit the writing part? It is pretty ugly and confusing. It can be done better. :)
As a sugegstion you could preload the houses array so people don't need to copy paste it in the code
this blow my mind
Where does he ask that? He sets up a recursive relationship with a single integer input. Would you consider
factorial(x)
to be amap/filter/reduce
kata?Thanks for the feedback. They're pretty random now
Thanks! now the js test cases doesn't use assert.deepEqual instead they use assert.closeTo
The issue is not the possible use of
map
/filter
/reduce
functions, but the fact that the author is asking to write afor
loop mapping/filtering/reducing something.I understand that you could use map/filter/reduce, but I don't think that is the only, or even easiest way.
It seems a bit pedantic to be marking an issue, just because certain functions/tools could be used to solve it.
Random Test is Not random enough.
additionally, beyond that:
Loading more items...