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 won't pass anymore.
Added some random edge cases for javascript. Also, random tests could produce arrays with a single number, not anymore.
Ideally, the random tests should generate a certain amount of such cases, to prevent hardcoding. It is not hard to do it.
Correct. Specific tests should be included to make it fail. Though I think this is specific to JavaScript (I have a doubt about Ruby, Julia, PHP and Dart, other languages should not be affected).
lmao what
why is it supposed to be called condoy numbers? just curious
Because b is not a and c is not b. Then a new a comes and it would be repeating the first one.
This is more general, as the title says, the other is a particular case of this one, with a single prize and 3 doors.
This comment is hidden because it contains spoiler information about the solution
thank you for rebuke, sensei was passionate but inexperienced, fixed
Thank you for cheers and your suggestions!
1 - you're right, it's inappropriate;
2 - coming back, mister Cheater, random tests are waiting for you :)
3 - ready;
4 - shure, 0 <= t, s <= 1000.
yes, I believe it is reasonalby hard :-) at least that was the intention.
algorithms that are linear in the input interval will certainly fail. But also logarithmic complexity algorithms might fail if they are not efficiently implemented.
This comment is hidden because it contains spoiler information about the solution
Hi. There are already opened issues about this kata being non sensical in some languages.
Loading more items...