Favorite Genres

Given a map Map<String, List<String>> userSongs with user names as keys and a list of all the songs that the user has listened to as values.


This is a companion discussion topic for the original entry at https://algo.monster/problems/favorite_genres/