Cruise Interview Question

Leetcode easy/medium BFS/DFS question involving nested arrays.