Notice
250x250
Recent Posts
Recent Comments
Link
목록2024/05/15 (1)
넘치게 채우기
[LeetCode] 2812. Find the Safest Path in a Grid
https://leetcode.com/problems/find-the-safest-path-in-a-grid/description/leetcode - Find the Safest Path in a Grid문제 유형 : bfs, 우선순위 큐, 다익스트라, 최단거리문제 난이도 : Medium 문제You are given a 0-indexed 2D matrix grid of size n x n, where (r, c) represents:A cell containing a thief if grid[r][c] = 1An empty cell if grid[r][c] = 0You are initially positioned at cell (0, 0). In one move, you can move to any ad..
PS/LeetCode
2024. 5. 15. 12:55