Octane interview question

2d array DFS leetcode medium