Let's pick as an example a function that takes 2 Map and return a Map containing every element in ma and mb:
def merge2Maps(ma: Map[String, Int], mb: Map[String, Int]): Map[String, Int]
A first attempt could be iterating through the elements of one of the maps using for ((k, v) <- map) and so...