Facebook | Phone screen | E5 | Remote
Anonymous User
420

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.

Comments (1)