profile
끄적이는 개발자
post-thumbnail

[JAVA | LeetCode] 463. Island Perimeter

출처 - https://leetcode.com/problems/island-perimeter/row x col로 된 grid가 주어진다. grid\[i]\[j]가 1이라면 땅, 0은 물을 나타낸다.한 칸은 가로/세로로 연결되고 대각선으로 이동할 수 없다. gr

2022년 12월 29일
·
0개의 댓글
·