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.
This comment is hidden because it contains spoiler information about the solution
There's a trade-off here, which for a 6 kyu could well fall in the direction of conciseness.
Let's close it.
(commenting here because i upgraded to Node 18 + chai)
is this still relevant ? the author's solution is probably buried somewhere in the Solutions page at this point. are you arguing that
{ 3:3 }
should be written{ '3':3 }
in the sample tests ? that makes the object literals more verbose for no good reason, in my opinion. it's maybe confusing for beginners, but learning that all object properties are (implictely coerced to) strings has to come at one point or anotherdone and done
approved
Fixed (along with C translation warning) in this fork. Please approve.
Nice
Great 8kyu exercise, link was useful to get a larger scope of the function.
Who needed to read that long document?
I've seen your code in javascript and it is not right, not a kata issue. Print the input, use
fun.toString()
to see what the code of the function is.Your code doesn't do that.
That depends on the function. In which language?
This comment is hidden because it contains spoiler information about the solution
if this happens, just return an empty list because you can't create proper cascading subsets.
The link in the description does not work.
The link in the description does not work.
Loading more items...