Count changed nodes between two menu trees | DoorDash Interview Question