LeetCode
Question
·
Aug 2019
·
Los Angeles
Uber ATG | Onsite | N-ary Tree Reconstruction
3 upvotes
2,115 views
7 replies
Question Details
Given an unordered list of pairs where each pair represents a parent-child relationship (not nessesary direct) in an N-ary tree. Reconstruct and return the original tree. You can assume that...
Full Details
🔒
Unlock full leaked content
Full insider details, leaked discussions, and candidate experiences.
Get Premium →Topics
Binary Tree