MCPcopy Create free account
hub / github.com/TheAlgorithms/Python / max_area_of_island.py

File max_area_of_island.py

matrix/max_area_of_island.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1"""
2Given an two dimensional binary matrix grid. An island is a group of 1's (representing
3land) connected 4-directionally (horizontal or vertical.) You may assume all four edges
4of the grid are surrounded by water. The area of an island is the number of cells with

Callers

nothing calls this directly

Calls 1

find_max_areaFunction · 0.85

Tested by

no test coverage detected