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.
Yeah, I had a look at python solutions and if I ignore the solutions that trivialize the kata with builtins, incorrect solutions are common.
It's a beginner kata, it should catch beginner mistakes, and this task makes it easy to create a slightly wrong solution that naive random tests don't catch.
I suggest adding these 75 exhaustive size-4 fixed tests to all languages (gotta love how each language has its own code):
(maybe they need to be renamed again so the answer isn't always either 2 or 3)
size-5 lists might have some limited value too, there are 541 of those though.
//this code works by luck, i am sorry, i don't know how to delete my submission.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
fair :(
The test is not broken, what, I believe, leaves us only the latter option :)
Your solution fails one of example tests. Check which one, what is its input, and then try to figure out why.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
this is the code, can someone tell me if the test is broken of if it is just skill issue?
i am stuck on this one for days, it is in C,
idk how but the test breaks if i input the correct value on the last index of the array,
but if i input literally any other value, it's fine?
probably in a few days i will find the solution and i will feel stupid then, but
if i don't compete this one i will regret it for the rest of my life >_<
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
is this fast?