Report seen similar question in interview
Python3
Test Cases
Input
existingAssociations =
newAssociations =
Output
Expected