Skip to content

Commit

Permalink
Update kotlin-quiz.md (#2794)
Browse files Browse the repository at this point in the history
  • Loading branch information
ItSNeverLate authored Dec 11, 2021
1 parent c0b6aa1 commit 1b1a91d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kotlin/kotlin-quiz.md
Original file line number Diff line number Diff line change
Expand Up @@ -673,7 +673,7 @@ fun main() = runBlocking {
data class Student(val firstName: String, val lastName: String)
```

- [x] `println(students.groupBy{ it.lastName.first() }.count())`
- [x] `println(students.groupBy{ it.lastName }.count())`
- [ ] `println(students.groupBy{ it.lastName.first() }.fold().count())`
- [ ] `println(students.groupingBy{ it.lastName.first() }.count())`
- [ ] `println(students.groupingBy{ it.lastName.first() }.size())`
Expand Down

0 comments on commit 1b1a91d

Please sign in to comment.