[Level 2] H-Index

나며기·2021년 9월 26일
0

programmers

목록 보기
60/111
post-thumbnail
def solution(citations):
    citations = sorted(citations,reverse=True)
    for h in range(len(citations)):
        if citations[h] <= h:
            return h
    return h+1
profile
PLUS ULTRA

0개의 댓글