[LeetCode] 1020. Number of Enclaves 飞地的数量

Given a 2D array , each cell is 0 (representing sea) or 1 (representing land) A move consists of walking from one land square 4 directionally to anoth
posted @ 2021-02-07 15:19  Grandyang  阅读(642)  评论(0编辑  收藏  举报
Fork me on GitHub