DoorDash interview question

Algo based that relied a lot on data structures