Search⌘ K
AI Features

Solution: H-Index

Explore how to compute the h-index of a researcher using an efficient counting sort approach. Learn to build a frequency array and apply reverse accumulation to find the correct h-index, practicing techniques relevant to coding interviews and understanding time and space tradeoffs.

Statement

You are given an array of integers citations, where each element citations[i] represents the number of citations received for the ithi^{th} publication of a researcher.

Your task is to find the researcher’s h-index and return the value of h ...