leetcode 1926. Nearest Exit from Entrance in Maze(迷宫最近的出口)
Input:maze=[[“+”,“+”,“.”,“+”],[“.”,“.”,“.”,“+”],[“+”,“+”,“+”,“.”]],entrance=[1,2]Output:1Explanation:Thereare3exitsinthismazeat[1,0],[0,2],and[2,3].Initially,youareattheentrancecell[1,2].Youcanreach[1