Question d’entretien chez DoorDash

2 algorithm questions (back to back)