Question: What is the output of the following Kotlin code snippet?
fun main() {
val list = mutableListOf(1, 2, 3, 4, 5)
val result = list.fold(5) { acc, num -> acc * num }
println(result)
}
I got bad marks in all entrance exams now
Should I take a drop year or should I just join a random college
15 replies7 likes
ratan
Stealth • 6m
I have a high liking for this platform and often wonder the reason behind this. And I guess I have an answer, that is:-
FAMILIARITY
I love this platform and the sole reason being, the environment shared by like minded people, who value ideas, prob
See More
3 replies4 likes
Rajan Paswan
Stealth • 6m
What key role should a founder hire in the initial stages of a startup?
Answer: Pick any sector or domain of your choice and provide an answer relevant to that.
7 replies6 likes
Avaneesh Sharma
Stealth • 13d
Today I have an interview
but I was not able to gave an single Answer to the interviewer...
Disgusting
Guys there is an Indian company called Muscle Nectar. I have used their whey protein and it's the best I ever used. It's comparable to international brands. They are a small company but their products are top notch. We should support such companies f
I want an ethics and to check answer writing teacher for my institute #upsc
0 replies3 likes
lince P
Stealth • 3m
I have an idea.
an online written mock exam for school students and engineering and medical students.
We work like real exam conductors. we evaluate written exams. Daily we conduct exams. how's it? I hope it will be very helpful to students. if you l
I think medial should have a ai , which could answer everything in terms of business, some general legal questions, give us case studies, suggest resources etc. not like every other ai, it should be like business ai , which is very smart and knows s