Back to course home
0% completed
Accounts Merge (medium)
Problem Statement
You are given a list of accounts, each of which is a list of strings. The first string in each list is the account name
, and the rest are email addresses
associated with that account.
You are required to merge accounts
that belong to the same person. Two accounts are considered to belong to the same person if there is at least one common email address between them.
Note that even if two accounts have the same name
, they may belong to different people
, as people could have the same name.
.....
.....
.....
Like the course? Get enrolled and start learning!
Table of Contents
Contents are not accessible
Contents are not accessible
Contents are not accessible
Contents are not accessible
Contents are not accessible