문제
https://school.programmers.co.kr/learn/courses/30/lessons/42747
정답
def solution(citations):
for h in range(len(citations) + 1, -1, -1):
if len(list(filter(lambda x: x >= h, citations))) >= h:
return h
https://school.programmers.co.kr/learn/courses/30/lessons/42747
def solution(citations):
for h in range(len(citations) + 1, -1, -1):
if len(list(filter(lambda x: x >= h, citations))) >= h:
return h