leetcode463专题

LeetCode463. Island Perimeter

文章目录 一、题目二、题解 一、题目 You are given row x col grid representing a map where grid[i][j] = 1 represents land and grid[i][j] = 0 represents water. Grid cells are connected horizontally/vertically