DoorDash Interview Question

recursion questions