DoorDash Interview Question

Super recursion