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.
OP solved it, closing
This comment is hidden because it contains spoiler information about the solution
Could you please explain your solution because I'm not understanding it, thank you very much
This is both best practices and clever, and I resent that I am not allowed to vote it up as both.
!
OP solved it,closing
Fixed description.
You can't delete solutions, however CW itself will flags them as failed if they actually do fail when tests are updated.
Not a kata issue.
same
thanks :)
...
is the spread operator(Spread syntax MDN article). You should google it to learn more.can i ask a question, i dont understend the three dots before list, can you tell what are those. thanks
The reason the kata is 8 kyu is because it was originally a Clojure kata and this is one of the simplest things you can do in Clojure. Subsequent ports are naturally harder in other languages, but the difficulty rating is common across languages. It may make sense now to reclassify it, but I don't think CodeWars lets you do that, unfortunately.
Very true! I have never ran into generators before, and I have been stuck on that part of the problem for a very long time. I agree that this should be bumped to a harder difficulty kyu.
Loading more items...