Kotlin컬렉션 연산maxOf
sumOf

maxOf컬렉션 연산

associateBy

셀렉터 결과의 최댓값을 반환합니다.

문법

collection.maxOf { selector }