Given an array of citation counts, compute the researcher's h-index (maximum h such that h papers have at least h citations each).
Input: citations=[3,0,6,1,5] Output: 3 Input: citations=[1,3,1] Output: 1
Unlock hints progressively — start gentle, go deeper only if needed.
Level 1: Gentle Nudge
A subtle direction
Level 2: Approach
The algorithm to use
Level 3: Detailed
Step-by-step guidance
to save progress and use AI features