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.
Very elegant!
This comment is hidden because it contains spoiler information about the solution
Thanks, sometimes these kata will support either method-shaped or class-shaped solutions with a clever import, but in this case I just aliased it myself. The naming convention felt yucky to have a lowercase class hahaha.
Thanks! :)))
This was designed with expandability in mind, so that with minimal modification it could handle an arbitrary number of generators, and non-infinite generators.
I agree that this minimum output value for this function should be 1 for any non-empty input string. That test case is incorrect in my view.
Oh dang, apologies for this oversight when resolving your previous issue where you reported this problem. I will properly address this three-of-a-kind omission before resolving this time.
This kata has been updated so that this solution no longer passes.
This kata has been updated so that this solution no longer passes.
I've updated the problem description with new phrasing that is hopefully more clear :)
In the original game there are only 6 dice, so the test cases only went up to 6. However, for robustness I have increased the possible number of dice to 10 for the random test cases, and also generally made the testing more robust. Cheers!
Thanks, this is updated
Started this fresh on a new kata:
https://www.codewars.com/kata/65bf46422380ae6a432e4f6e
This time with a properly structured problem description and randomized testing :)))
Nested def, I do not like this style and yet ChatGPT loves to generate it.
facepalm
Loading more items...