Merge Profiles by Shared Email
Asked at Electronic Arts · Coding Questions · Difficulty: Medium
A service stores user profiles, each with a name and a list of email addresses. The same person may have several profiles, and any two profiles that share an email address belong to the same person. Merge the profiles of each person into one.
Loading the problem…