Skip to content

21 11 月, 2022

LeetCode: 1926-Nearest Exit from Entrance in Maze 解題紀錄

Last Updated on 2022-11-21 by Clay

題目

You are given an m x n matrix maze (0-indexed) with empty cells (represented as '.') and walls (represented as '+'). You are also given the entrance of the maze, where entrance = [entrancerow, entrancecol] denotes the row and column of the cell you are initially standing at.

Read More »LeetCode: 1926-Nearest Exit from Entrance in Maze 解題紀錄