DoorDash Interview Question

Something to do with a maze