BFS #leetcode
-
[LeetCode] Shortest Path in Binary Matrix 풀이 (Python)알고리즘 2022. 5. 6. 14:59
[LeetCode] Shortest Path in Binary Matrix 풀이 (Python) https://leetcode.com/problems/shortest-path-in-binary-matrix/ Shortest Path in Binary Matrix - LeetCode Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview. leetcode.com 문제 해설 (0,0) 지점부터 (n-1, m-1) 지점까지 가는데 지나는 칸 수를 구하는 문제이다. 각 칸은 0 이나 1 로 구성되어 있으며 0 으로 구..