---
title: "Discussion on \"LeetCode 695 Max Area of Island - DFS (Med, Java, O(m × n))\" | Hashnode"
description: "Discussion on \"LeetCode 695 Max Area of Island - DFS (Med, Java, O(m × n))\". Problem Statement\n\n695. Max Area of Island\n\nGiven an m x n binary matrix grid, find the maximum area of an island. An island is a group of 1's connected 4-directionally (horizontal or vertical). The area of an island is the count of 1 cells in that i..."
url: "https://hashnode.com/posts/leetcode-695-max-area-of-island-dfs-med-java-om-n/687624f20e5c600feb8c78e6"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [LeetCode 695 Max Area of Island - DFS (Med, Java, O(m × n))](https://huanganni.hashnode.dev/leetcode-695-max-area-of-island-dfs-med-java-om-n?utm_source=hashnode&utm_medium=feed)

Problem Statement 695. Max Area of Island Given an m x n binary matrix grid, find the maximum area of an island. An island is a group of 1's connected 4-directionally (horizontal or vertical). The area of an island is the count of 1 cells in that i...

Jul 15, 2025 · 4 min read · huanganni.hashnode.dev  
Read the article

-   [#leetcode-solution](https://hashnode.com/tag/leetcode-solution)
-   [#leetcode](https://hashnode.com/tag/leetcode)
-   [#dfs](https://hashnode.com/tag/dfs)
-   [#depth-first-search](https://hashnode.com/tag/depth-first-search)
-   [#leetcode-medium](https://hashnode.com/tag/leetcode-medium)
-   [#java](https://hashnode.com/tag/java)
-   [#graph](https://hashnode.com/tag/graph)

## Written by

[Anni Huang](https://hashnode.com/@HuangAnni)

@HuangAnni · Singapore

  
[View profile](https://hashnode.com/@HuangAnni)

LLM Training Operation Specialist @ ByteDance | Ex-Master of IT in Business (AI track) at SMU

I’m Anni Huang, an AI researcher-in-training currently at ByteDance, specializing in LLM training operations with a coding focus. I bridge the gap between engineering execution and model performance, ensuring the quality, reliability, and timely delivery of large-scale training projects.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
