Ad
  • Custom User Avatar

    Your solution returns wrong answer for inputs like [3, 2, 2].

    Your solution has a bug, it is not a kata issue.

  • Custom User Avatar

    I have solved this kata in c# and initial test has passed...but when I (Attempt), I get an error says :

    Test Failed
    Expected: -1
    But was: 5
    I've tried my solution on VS code and it worked properly.
    I don't know what's wrong!
    I also want to know if the sample test written down the page is exactly what causes the error? cuz I tried this particular case in vs code and it passed successfully.