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.
One of the important Perks of Reading Documentation before Concept Imlpementation, A lot of time save :D
You probably debugged your solution somehow incorrectly. Tests do not fail for
[1,2,3,4,5,6]
, but for[8, 0]
. Expected answer is0
(sum of elements to the right of8
and to the left of8
) is equal, but your solution returns -1.Not a kata issue, your solution is incorrect.
This comment is hidden because it contains spoiler information about the solution
C# version of the kata works good for me. You are either misinterpreting the logs, have some bug in your solution, or kata has some bug which does not manifest for every solution.
If you are 100% sure your solution is correct, post it here (see here how), and someone will check what's wrong.
This kata is broken for C#. Same input is used in two different test cases at least and gives me two different results ensuring it's impossible for me to actually complete this kata. I've even tried randomizing the output between 0 and -1 to try to get around it but that hasn't worked yet, but the array [1,2,3,4,5,6] wants both a 0 and -1 answer, which is ridiculous. I pass all the randomized test cases with flying colors.
I've got to rank 5 kyu when I was around 310 honor, and that was doing mostly 8 kyu problems with a sprinkling of higher level problems.