A bit confused about bin search condition


  • 0
    I

    Why is it that when we do the binary search, we look for citations[i] >= len(citations) - i, not citations[i] == len(citations) - i?


Log in to reply
 

Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.