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.
I thought that Kata was pretty good, yet I cannot submit my solution or view test cases or spoiler comments without forfeiting eligibility. Is there a reason why it is now a draft again and not published?
BrainF translation
Yeah it's a dupe in JS
Needs everything :(
Test cases especially
Ok, just wanted to make sure, thanks.
For 2., do you mean in approx in the test cases?
JS Translation
Yeah, those were my thoughts exactly.
A<=B, not A>=B as described in code and description, please fix.
That explains a lot. Thanks for the feedback, someone already beat me to fixing it.
JS Translation
I had that issue. My error was because I had array's within the array (eg
[1,2,3,[1,2],3]
), and the test cases can't compare the values because of the multiple arrays inside of the array.Wow! That image helps out a lot!
I kinda accounted for that. But yeah, calenders are dumb.
But if paxompaxom wanted to, he could do that and then use a random time generator.
Is there a chance that Feb 29th occurs in
let date = new Date(2000, 0, Math.random() * 20 * 365 + 1 | 0).toISOString().slice(0, 10);
?Here's a random date generator I made so you can use an actual Date of Birth for the random tests. I made the year from 2000-2022, cow's have a life exepectancy of about 20 years.
Loading more items...