Facebook | Phone | Accounts Merge

Difficulty: MEDIUMCategory: InterviewExperienceFrequency: 1Asked On 2020-04-27Added By Anonymous
Source: Link

Company: Meta (Facebook)
Role: unknown
Interview Stage: Phone Screen
Location: USA
Year: unknown

Original Post Content:

Location: USA

I had a Facebook interview today.

Question: https://leetcode.com/problems/accounts-merge/

I came up with a DFS solution and I think I explained the algorithm and the code quite well. I still got the reject. If someone's been interviewing, could you give insights?

Comments