33.getMissingContacts

Write a function named getMissingContacts that receives one parameter:

  • a Map of contacts, where the key is a string representing a userId and the value is an array of user ids - contactsMap

The function should return a new Map, where the values are the contacts missing from each user.

Example 1

Input

contactsMap

=

Output