LeetCode Solution, Easy, 463. Island Perimeter
463. 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 (not diagonally). The grid is completely surrounded ...
blog.taiwolskit.com3 min read