[PROBLEM] 274. H-Index #155
Labels
difficulty: medium
Medium difficulty problem.
hacktoberfest
Hacktoberfest issue.
problem
LeetCode problem.
Difficulty
Medium
Problem Description
Given an array of integers
citations
wherecitations[i]
is the number of citations a researcher received for theirith
paper, return the researcher's h-index.According to the definition of h-index on Wikipedia: The h-index is defined as the maximum value of
h
such that the given researcher has published at leasth
papers that have each been cited at leasth
times.Example 1:
Example 2:
Constraints:
n == citations.length
1 <= n <= 5000
0 <= citations[i] <= 1000
Link
https://leetcode.com/problems/h-index/
The text was updated successfully, but these errors were encountered: