Amazon Interview QuestionSoftware Engineers
- 0of 0 votes
Given a tree and a number N,
construct another tree such that each node of the tree has either 0 or
N elements,except for one node which has between 0 to N elements.
Only other constraint is
that ancestry is preserved in the new tree.
Country: United States