Shumilin Alexandr
04/29/2022, 8:01 PMJoffrey
04/29/2022, 8:02 PMShumilin Alexandr
04/29/2022, 8:03 PMcsvService.read(fileList)
.groupBy { it.participant }
.mapValues { (_, challengeRecords) -> challengeRecords.sumOf { it.point } }
.toList()
.sortedByDescending { (k, v) -> v }
.toMap()
Shumilin Alexandr
04/29/2022, 8:03 PMphldavies
04/29/2022, 8:03 PM.take(5)
before the .toMap()
Shumilin Alexandr
04/29/2022, 8:05 PMMatteo Mirk
05/02/2022, 3:00 PM