educative.io

What this line means?

val res: MutableMap<String, MutableList<String>> = HashMap()

Thank you


Course: Decode the Coding Interview in Kotlin: Real-World Examples - Learn Interactively
Lesson: Feature #1: Group Similar Titles - Decode the Coding Interview in Kotlin: Real-World Examples

Hi @Ego,
MutableMap is actually a hash map that holds the object in the form of key and value pair.
In this example
key = String
value = list of Strings

Let me know if it is not clear.
thank you