LeetCode
Question
·
Jan 2022
·
Los Angeles
Google | Create a tree | Jan '22
7 upvotes
1,135 views
10 replies
Question Details
This was asked in Google Interview. Given a list of parent-child relationships, build a tree out of it. Example Input: 80 19 50 20 20 15 80 16 50 80 20 17 You should return the following tree: ...
Full Details
🔒
Unlock full leaked content
Full insider details, leaked discussions, and candidate experiences.
Get Premium →Topics
Binary Tree