Citation Problem

Asked at Harvey · Coding & Leetcode-style Questions · Difficulty: Easy

Given an array where each element represents the number of citations a paper has received. The task is to find the h-index such that h papers have at least h citations each.

Loading the problem…