Ad
  • Custom User Avatar

    I got it!
    I misunderstand the kata.. lol

    thanks Sensei!

  • Custom User Avatar

    Woops, I take that back. It looks fine. 11 should be the correct answer here. So the number in the 11th slot is -6051.

    • The numbers to the left of -6051 are [-1286,-1009,-7762,6264,9804,705,-1636,-8682,8837,-2332,8469]. These numbers added together equal 11372.
    • The numbers to the right of -6015 are [-9292,935,19729]. These numbers added together equal 11372.

    Both sides are equal at position 11.

  • Custom User Avatar

    looks like you may be editing the variables that are sent to you. If you wouldnt mind posting your code below, I can help you out. Just let me know what language it is in.

  • Custom User Avatar

    I can't find out why this result is expected 11..

    The failed array was: -1286,-1009,-7762,6264,9804,705,-1636,-8682,8837,-2332,8469,-6051,-9292,935,19729
    Expected: 11
    But was: -1
    Completed in 0.015134ms