Accounts Merge
Try to solve the Accounts Merge problem.
We'll cover the following...
Statement
You are given a 2D array, accounts
, where each row, accounts[i]
, is an array of strings, such that the first element, accounts[i][0]
, is a name, while the remaining elements are emails associated with that account. Your task is to determine if two accounts belong to the same person by checking if both accounts have the same ...
Create a free account to view this lesson.
By signing up, you agree to Educative's Terms of Service and Privacy Policy