Combine N-ary Trees
LinkedIn interview questions · Hard · Coding round · 6 tests
Merge two organization charts by summing overlapping headcounts and aligning children by index.
The full question, tests and reference solution are available with a plan that includes LinkedIn.
Run your code with Ctrl+Enter to see results.