Ad
  • Custom User Avatar

    I've got some error "Testing for [14, -3, 5, -6, -14, -5, 5, -6, 0, -3]
    It should work for random inputs too: 6 should equal 5"
    Here the correct answers are 5 and 6.
    My solution gave the result 5, and I got this error. Of course I corrected my code so it gives the result 6 without any mistakes. But now I don't know how to understand this task's instruction with the following "Note:
    If you are given an array with multiple answers, return the lowest correct index."