Given an array of integers citations where citations[i] is the number of citations a researcher received for their ith paper, return the researcher's h-index. The h-index is defined as the maximum value h such that the researcher has published at least h papers with each cited at least h times.
Sort + Greedy Check
After sorting descending, h is the largest index+1 where citations[i] >= i+1.