DoorDash interview question

Standard leetcode questions, data structures and algorithms