Problem 2468. Calculate the h-index
H-index is a powerful tool for quantifying the scientific contribution of a researcher. H-index is defined as follows (source - wikipedia):
"a scholar with an index of h has published h papers each of which has been cited in other papers at least h times".
In this problem, citations of published works of an author will be provided as a vector. Each element of the vector denotes the number of citations of a specific paper of the author. Calculate the h-index.
Example:
Input = [3 3 2 1]; Output = 2
Solution Stats
Problem Comments
Solution Comments
Show commentsProblem Recent Solvers48
Suggested Problems
-
Maximum running product for a string of numbers
2251 Solvers
-
Project Euler: Problem 2, Sum of even Fibonacci
2813 Solvers
-
Back to basics 8 - Matrix Diagonals
958 Solvers
-
Flip the main diagonal of a matrix
899 Solvers
-
Let's get back to school, and create multiplication tables
235 Solvers
More from this Author44
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!