Python Leetcode S The Maze Ii Problem Why Does This Solution

Python Leetcode S The Maze Ii Problem Why Does This Solution