This content originally appeared on DEV Community and was authored by Vrushali
Sometimes the simplest puzzles are the sneakiest — especially in interviews.
Take this one:
Find the longest word in a list.
val cities = listOf("rome", "berlin", "london")
📖 Want the full story? Read the original blog on Medium
This content originally appeared on DEV Community and was authored by Vrushali

Vrushali | Sciencx (2025-09-05T09:39:25+00:00) Kotlin Interview Puzzle: Who Wins the Tie? Loops, Reduce & Functional Surprises. Retrieved from https://www.scien.cx/2025/09/05/kotlin-interview-puzzle-who-wins-the-tie-loops-reduce-functional-surprises/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.