Tag: Max Area of Island

  • LeetCode: 695 Max Area of Island

    You are given an m x n binary matrix grid representing a map of ‘1’s (land) and ‘0’s (water). An island is a group of 1s (representing land) connected 4-directionally (horizontal or vertical). You may assume all four edges of the grid are surrounded by water. The area of an…