Wrong test case for [ 5, 17, -22, 11 ]


#1

expected return value is 1 not 0


#2

Yes but it is occurring only when you Test. No problem if you Submit.