Notice
Recent Posts
Recent Comments
ยซ   2024/11   ยป
์ผ ์›” ํ™” ์ˆ˜ ๋ชฉ ๊ธˆ ํ† 
1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
Tags more
Archives
Today
Total
๊ด€๋ฆฌ ๋ฉ”๋‰ด

๐ŸŒฒ์ž๋ผ๋‚˜๋Š”์ฒญ๋…„

[ํ”„๋กœ๊ทธ๋ž˜๋จธ์Šค]H-Index ๋ณธ๋ฌธ

์•Œ๊ณ ๋ฆฌ์ฆ˜ ๋ฌธ์ œํ’€์ด

[ํ”„๋กœ๊ทธ๋ž˜๋จธ์Šค]H-Index

JihyunLee 2019. 11. 26. 22:58
๋ฐ˜์‘ํ˜•

H index๋ฌธ์ œ๋ฅผ ํ’€์–ด๋ณด์•˜๋‹ค

์ •๋ ฌ ํŒŒํŠธ์— ์žˆ์ง€๋งŒ ์ •๋ ฌ์ด๋ผ๊ธฐ ๋ณด๋‹ค๋Š” ์ƒ๊ฐ ๋ฌธ์ œ์˜€๋‹ค.

 

 

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
def solution(citations):
    citations.sort(reverse=True)
    i=0
    for i in range(1, max(citations)+1):
        if(len(citations)==i):
            break
        if(i<citations[i]):
            pass
        else:
            break
 
    h = i
 
    return h
 
 
cs
๋ฐ˜์‘ํ˜•