LeetCode Question · Dec 2020 · San Francisco

Facebook | Phone | Tree with multiple parents

10 upvotes 4,866 views 13 replies

Question Details

Two questions: 45 Mins Question 1 Given a list of pairs in the format [(parent, child)] find the nodes with zero parent and one parent. On probing, the nodes are unique positive...

Full Details

🔒

Unlock full leaked content

Full insider details, leaked discussions, and candidate experiences.

Get Premium →

Topics

Binary Tree