DoorDash logoDoorDash
CodingMembers

Menu Tree Diff — Count Changed Nodes

Members only

DoorDash phone-screen coding prompt. Given an existing menu tree (in our system) and a new menu tree sent by a merchant, count how many nodes changed. Nodes are matched by key and position: a value ch...

SWE
tree
recursion
hashmap
medium
Frequency
Single report
Last asked
2026-01-30
Stage
phone-screen

Log in to continue reading the full content

Comments

Sign in to join the discussion
Loading...