LeetCode Question · Aug 2020

Facebook Interview Question

7 upvotes 1,942 views 7 replies

Question Details

Got the following question: You have two lists: user_id 1, user_id 2, timestamp accepted=([1,2,"2020-01-01"],[3,2,"2020-01-02"],[2,1,"2020-02-02"],...) removed=([2,1,"2020-01-03"],[2,3,"2020-01-05"],[2,1,"2020-04-02"]..) The accepted list is the friendships which were accepted, while removed are the opposite. Create a new list which outputs...

Full Details

🔒

Unlock all Meta questions

Full insider details, leaked discussions, and candidate experiences.

or every company, $100/year →

About This Question

This is a reported interview question from a meta interview for a swe role reported in 2020.

It covers the following topics: General Experience .