Question 1
Medium Given a satellite image as an N x M grid, where X is land and . is water, and a coordinate (r, c), use BFS to traverse the connected land region containing that coordinate. The problem is similar to Number of Islands. The required output was not specified.