Facebook | Phone screen | E5 | Remote
Difficulty: EASYCategory: InterviewExperienceFrequency: 1Asked On 2021-09-13Added By Anonymous
Source: Link
Company: Meta (Facebook)
Role: E5
Interview Stage: Phone screen
Location: Remote
Year: unknown
Original Post Content:
https://leetcode.com/problems/copy-list-with-random-pointer/
https://leetcode.com/problems/making-a-large-island/
I can do the island algorithms in my sleep, but the wrinkle in this one completely threw me off (hadn't seen it before, found the problem on LC after the interview). I immediately suggested a backtracking solution but the interviewer said it would be too expensive. Couldn't get it done. I'm sure I'll be rejected.