• That is not at all what this kata is about. This kata is to find the index where the sum of both sides are equal. We do not care which sides sum is the greatest. I also do not know what you mean by your last sentence, but I think that you are confused about the point of this kata.

  • No, it wasn't, but I added a testcase for you ^^. Thanks for your feedback!