NeetCode #644LC-827HardAdvanced Graphs
← Back to All Problems#644 · #827 · Making A Large Island(最大人工岛)
📌 Problem Statement & Constraints
You are given an
n x n binary matrix grid. You may change at most one 0 to 1. Return the size of the largest island possible. Constraints: 1 <= n <= 500.🔒
Sign In to Unlock Full Solutions for All 973 Problems
Sign in to access step-by-step logic, benchmark Python3 code, complexity breakdown, and offline export!