๋ฐ์ํ H-Index1 ํ๋ก๊ทธ๋๋จธ์ค[Java] - H-Index(์ ๋ ฌ) programmers.co.kr/learn/courses/30/lessons/42747 ์ฝ๋ฉํ ์คํธ ์ฐ์ต - H-Index H-Index๋ ๊ณผํ์์ ์์ฐ์ฑ๊ณผ ์ํฅ๋ ฅ์ ๋ํ๋ด๋ ์งํ์ ๋๋ค. ์ด๋ ๊ณผํ์์ H-Index๋ฅผ ๋ํ๋ด๋ ๊ฐ์ธ h๋ฅผ ๊ตฌํ๋ ค๊ณ ํฉ๋๋ค. ์ํค๋ฐฑ๊ณผ1์ ๋ฐ๋ฅด๋ฉด, H-Index๋ ๋ค์๊ณผ ๊ฐ์ด ๊ตฌํฉ๋๋ค. ์ด๋ค ๊ณผํ์๊ฐ ๋ฐํ programmers.co.kr ์ฝ๋ import java.util.Arrays; class Solution { public int solution(int[] citations) { int answer = 0; int size = citations.length; Arrays.sort(citations); int max = max(citations); for (int i = 0.. 2020. 12. 5. ์ด์ 1 ๋ค์ ๋ฐ์ํ