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.
fixed for Java
Probably everyone who did not think about count()... me included ;c
(see recent java fork)
This is an 8kyu kata, enforcement of regex is not only inappropriate with the level of ranking, but also too late as it will invalidate all solutions
Seems to be fixed to this day
Done some time ago
hahaha ur mad communist kiddo
Add a formula for the calculation. I had no idea what you were asking but a formula would've been enough to understand what I needed to do. Good attempt, try again
It's not a kata issue, it's a problem with your code.
It's called the Spread Syntax, here is the official documentation for it.
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Spread_syntax
Hey everyone, what does ... mean in regards to an array?
Confirmed. That's Java.
(Note: For an unknown reason, I don't see the "edit kata" button while the issue is open... :o )
This comment is hidden because it contains spoiler information about the solution
For the clojure variation of this problem,
when defining a function you used defn
when defining a variable you use def.
Using defn in the example code is very confusing because it suggests to create a named function 'websites'.
However, it's looking for a variable 'websites' instead, which seems unfair considering the description on the side
Loading more items...