H-Index

Tiffany ·2024년 3월 12일
0

Programmers

목록 보기
3/15

def solution(citations):
    citations.sort(reverse=True)
    h_index = 0
    for c in citations:
        if c > h_index:
            h_index += 1
        else:
            break 
    return h_index
profile
Love what you do and don't quit.

0개의 댓글