Skip to the content.

Approach –>Calculate the count of paper greater than mid. –>Now if count is greater than we increase h-index =>i=mid

Complexity 1.Time complexity:O(NlogN) 2.Space complexity:O(1)