package
0.0.0-20241220224003-b7cf03a90b2b
Repository: https://github.com/szhou12/leetcode-go.git
Documentation: pkg.go.dev
# README
695. Max Area of Island
Solution idea
DFS - 岛屿沉没类
- 思路与 200. Number of Islands 一致
- 区别在于这道题是求最大岛屿的面积
Time complexity = $O(m*n)$