
Leetcode: 463. Island Perimeter
You are given a map in the form of a two-dimensional integer grid where 1 represents land and 0 represents water. Grid cells are connected horizontally/vertically (not diagonally). The grid is completely surrounded by...