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.
excellent these test cases are perfect
Greetings, guys! I would like to suggest adding two additional test lines to the tests for this kata.
In the process of optimizing my C# code, I added my two additional lines of tests and then an incorrect result was given in one or another line of the test, but all codewar's tests always completed successfully. As a result, I corrected the C# code so that my code and in my two additional lines of testing gave the correct result. I think it would be advisable to add my two additional lines to the tests to this kata because some incorrect algorithms are able to successfully pass all the tests.
Link to my C# solution with comments (SPOILER for those who have not yet solved this kata): https://www.codewars.com/kata/reviews/5d616f61addcfc00010e8bc9/groups/654970081bb8890001104be0
Two additional lines to add to the tests to this kata:
{ (1, 6), (10, 20), (5, 11) }
{ (10, 20), (1, 6), (5, 11) }