@@ -0,0 +1,365 @@
+/**%0A * Problem: https://leetcode.com/problems/h-index/%0A */%0A%0Apublic class Solution %7B%0A    public int hIndex(int%5B%5D citations) %7B%0A        Arrays.sort(citations);%0A        int h = 0;%0A        int i = 0;%0A        for(i=citations.length-1; i%3E=0; i--)%7B%0A            if(citations%5Bi%5D %3C= h %7C%7C citations%5Bi%5D == 0) break;%0A            h++;%0A        %7D%0A        %0A        return h;%0A    %7D%0A%7D%0A

Create H-Index.java