[LeetCode 275] H-Index II

Follow up for H-Index: What if the citations array is sorted in ascending order? Could you optimize your algorithm?

Hint:
Expected runtime complexity is in O(log n) and the input is sorted.

Diffculty
Medium

Similar Problems
[LeetCode 274] H-Index Medium

Analysis

results matching ""

    No results matching ""