Kotlin Interview Puzzle: Who Wins the Tie? Loops, Reduce & Functional Surprises

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

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


Print Share Comment Cite Upload Translate Updates
APA

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/

MLA
" » Kotlin Interview Puzzle: Who Wins the Tie? Loops, Reduce & Functional Surprises." Vrushali | Sciencx - Friday September 5, 2025, https://www.scien.cx/2025/09/05/kotlin-interview-puzzle-who-wins-the-tie-loops-reduce-functional-surprises/
HARVARD
Vrushali | Sciencx Friday September 5, 2025 » Kotlin Interview Puzzle: Who Wins the Tie? Loops, Reduce & Functional Surprises., viewed ,<https://www.scien.cx/2025/09/05/kotlin-interview-puzzle-who-wins-the-tie-loops-reduce-functional-surprises/>
VANCOUVER
Vrushali | Sciencx - » Kotlin Interview Puzzle: Who Wins the Tie? Loops, Reduce & Functional Surprises. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2025/09/05/kotlin-interview-puzzle-who-wins-the-tie-loops-reduce-functional-surprises/
CHICAGO
" » Kotlin Interview Puzzle: Who Wins the Tie? Loops, Reduce & Functional Surprises." Vrushali | Sciencx - Accessed . https://www.scien.cx/2025/09/05/kotlin-interview-puzzle-who-wins-the-tie-loops-reduce-functional-surprises/
IEEE
" » Kotlin Interview Puzzle: Who Wins the Tie? Loops, Reduce & Functional Surprises." Vrushali | Sciencx [Online]. Available: https://www.scien.cx/2025/09/05/kotlin-interview-puzzle-who-wins-the-tie-loops-reduce-functional-surprises/. [Accessed: ]
rf:citation
» Kotlin Interview Puzzle: Who Wins the Tie? Loops, Reduce & Functional Surprises | Vrushali | Sciencx | 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.

You must be logged in to translate posts. Please log in or register.