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 had no idea, how to know the "Edges conditions" and that it was necessery check if input array is empty.
Thank You!
Your solution has a bug and does not handle some inputs correctly. If you take a look at results of failed tets you will see that it fails "Edge cases" section. What edge cases did you test in console?
Buggy solutions are not a kata issue.
This comment is hidden because it contains spoiler information about the solution
Is there a way we can see the edgecase testing and random tests? My code passes the normal tests but I cannot begin to debug why it is failing the edge cases. This is in the TS version.
there is a space before Senior
Nice additional info, but not a kata suggestion :-)
Approved
Lua translation!
Your answer is different from the expected one:
Usually when tests fail it means that the expected solution is not OK.
Is there a reason why I'm failing the tests despite the expected solution being ok? Maybe I am missing something.
Sorry I meant
number[][]
/[number, number][]
. I changed the type to use shorthand syntax rather than generic typesArray<number>
andnumber[]
mean the same thing.This comment is hidden because it contains spoiler information about the solution
Loading more items...