Search⌘ K
AI Features

H-Index

Explore how to calculate a researcher's h-index by applying sorting and search strategies. This lesson helps you understand the problem definition and constraints, and guides you to implement the solution in JavaScript, building skills useful for coding interviews.

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 ...