the requirement is to find h such that"A scientist has index h if h of his/her N papers have at least h citations each, and the other N − h papers have no more than h citations each."

for input[1,2], when h=1 means 1 of the paper has at least 1 citations, which is clearly not true, since 2 papers have at least 1 citations

please help me understand this test case....