I have a scala map that stores a characters and their frequency in a string then I need to take the map and save all its contents into a Seq for example:
map[Char,int] = map[T,Int](a -> 3,b-> 2, c -> 1) => Seq[Char] = Seq[Char](a,a,a,b,b,c)
Anyone has any advice about how could I accomplish this or about how could I iterate through the map