What will this code print?
val names = listOf("John", "Jane", "Mary", "Peter", "Paul", "George")
println(names.chunked(2) { it.sumOf { it.length } })What will this code print?
val names = listOf("John", "Jane", "Mary", "Peter", "Paul", "George")
println(names.chunked(2) { it.sumOf { it.length } })Create a free account to access the full topic