DEV Community

Vrushali
Vrushali

Posted on

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")

Enter fullscreen mode Exit fullscreen mode

📖 Want the full story? Read the original blog on Medium

Top comments (0)