The test cases are wrong


#1

for the test case [5, 6, 2] the answer given is 1 but according to the question, the integer should exist in the array. Also, the correct answer is 2.