DoorDash interview question

Something to do with a maze