Maximum Connected group (Making A Large Island)
Given a binary matrix of size n x n, the task is to find the largest island after changing at most one cell from 0 to 1. Note: An island is a 4-directionally (i.e, up, down, right, left) connected group of 1s. Examples: Input: grid = {{1 1}, {0 1}}Output: 4Explanation: By changing cell (2,1) ,we can