DoorDash interview question

Leetcode Medium - BFS on 2D array