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 here
Thanks for feedback. Could you share the discord link?
Your random tests are vulnerable to input modification ( I could not submit, but I think you can still see my solution by clicking under this comment ), and your submit test suite is missing fixed tests ( should have had the example tests as a section of the submit tests ).
This would [ very probably ] have been pointed out if you had posted a link to
Discord#reviewing
before publishing.In general, the idea was apparently ( somewhat ) better than the previous one, but still not good enough. Inviting the use of
eval
in solutions is often frowned upon as well.If people don't subtitle their vote, it's impossible to know for sure what killed the kata, but you're still dropping the ball on a number of things people could have told you in advance.
I would suggest not immediately publishing the new one, and posting the direct link to the unpublished kata in
Discord#reviewing
, so people can give their opinion on whether or not it is sufficiently novel.Ehm, if the new one was
Count bots
, this advice was too late. Just know it's an option if you should want to try again.Made it more interested now?
EDIT: never mind. deleted and made a new one
It's just my first kata. I made it simple and focus more on familiarize myself with the authoring tool. My next one is gonna be more interesting ig.
It's not just about the exact story of the kata, it's also about how to solve it. Simple
map, filter, reduce
operations are the basis of many, many kata.I wasn't really raising the "duplicate" issue; I was just telling you why nobody liked it. It's nothing personal, it's just hard to come up with novel ideas and concepts when almost
10 000
things have already been done.I found no diplicates. And for sure not for your level ;)
This is not a novel idea.
This comment is hidden because it contains spoiler information about the solution
Just checking the available ?? 0 would be enough instead of divsion to NaN. Recipe will always have some vlaue I guess
It can be simpler. Like move Math.floor outside of the inner loop...
Fortunately JS handles division by zero :)
Ugh, those ternaries :)
Basically same as mine but all in one function.
Loading more items...