- Published on
프로그래머스 - 코딩테스트 연습 - 정렬 - H-Index
- Authors
- Name
- Indo Yoon
Table of Contents
문제
정답
def solution(citations):
for h in range(len(citations) + 1, -1, -1):
if len(list(filter(lambda x: x >= h, citations))) >= h:
return h