DoorDash Interview Question

Standard LC or HR type coding question