Menu Tree Diff Counter
DoorDash interview questions · Medium · Coding round · 6 tests
Merchants push a new menu tree every day - count how many nodes changed value, moved to a different parent, were added, or were deleted between the old and new menu trees.
The full question, tests and reference solution are available with a plan that includes DoorDash.
Run your code with Ctrl+Enter to see results.