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.
removed
Thanks! I appreciate the compliment.
You're right, when your code is not ok, the log doesn't show.
What do you mean you can't use it?
41,42,43,44...
Changed tests to cover all the range between 0 and 99. Enabled Node v14 too.
+1 not clever and not best practice
https://www.grammarly.com/blog/dice-die/#:~:text=Die%20is%20the%20singular%20form,plural%20form%20would%20be%20dies.
This is an old kata and its design won't be changed but for very good and unquestionnable reasons, because it would invalidate all existing solutions. Moreover, your suggestion is questionable, and I don't know on which alleged standards of CW it is base on.
The function does not expect behaviour any different from the underlying operator.
What requirement did you have in mind?
That's because there's only 10 test cases so it's highly unlikely that your function will generate the same string twice.
instead of accumulating the letters into
a
you are taking the first character ofa
at every call, so it never grows beyond 2Yea same, it doesnt look hard, but when u start solving, there are many cases where u need to add extra code.
What is the important knowledge? I think I have missed the point :)
For me, it's 6kyu