---
title: "Discussion on \"Making A Large Island Graph DSU Java Solution\" | Hashnode"
description: "Discussion on \"Making A Large Island Graph DSU Java Solution\". You are given an n x n binary matrix grid. You are allowed to change at most one 0 to be 1.\nReturn the size of the largest island in grid after applying this operation.\nAn island is a 4-directionally"
url: "https://hashnode.com/posts/making-a-large-island-graph-dsu-java-solution/6a492d0d37a9545102d75ea9"
---

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

Discussion

# [Making A Large Island Graph DSU Java Solution](https://skshoyebjavascript.hashnode.dev/making-a-large-island-graph-dsu-java-solution?utm_source=hashnode&utm_medium=feed)

You are given an n x n binary matrix grid. You are allowed to change at most one 0 to be 1. Return the size of the largest island in grid after applying this operation. An island is a 4-directionally

Jul 4 · 3 min read · skshoyebjavascript.hashnode.dev  
Read the article

-   [#dsu](https://hashnode.com/tag/dsu)
-   [#dsa](https://hashnode.com/tag/dsa)
-   [#java](https://hashnode.com/tag/java)
-   [#graph](https://hashnode.com/tag/graph)

## Written by

[Sk Shoyeb](https://hashnode.com/@skshoyebjs)

@skshoyebjs · India

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

Lets Explore The Javascript World With Sk Shoyeb

Ex Full Stack Developer at @WiseBoxs | Vue React Node | MERN

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
