[프로그래머스] H-Index
import java.util.*; class Solution { public int solution(int[] citations) { int answer = 0; Arrays.sort(citations); for(int i=citations.length-1; i>=0; i--){ int minnum = (int)Math.min(citations[i],citations.length-i); if(answer
2020.03.28