DoorDash interview question

a restful service