## Global warming java [9th] [provincial competition] [group B] solution to question 9

Resource constraints
Time limit: 1.0s Memory limit: 256.0MB
Problem description
You have a NxN pixel photo of a certain sea area, "." represents the ocean and "#" represents the land, as shown below: ....... .##.... .##.... ....##. ..####. ...###. ....... Among them, a piece of land con ...

Posted on *Mon, 06 Dec 2021 00:18:23 -0500* by **dannel77**

## BFS - Knight's Rescue

BFS Examples with Notes
Title Description The princess was captured by the wicked and held somewhere in her cell. Cells are represented by a matrix of N*M (N, M <= 20). Each item in the matrix can represent roads (@), walls (#), and guards (x). The heroic Knight (r) decided to save the princess by himself (a). We assume that the successful ...

Posted on *Sun, 07 Nov 2021 11:19:46 -0500* by **gateway69**

## Leetcode 695. Maximum area of the island

subject
Give you a binary matrix grid of size m x n.
An island is a combination of some adjacent 1s (representing land). The "adjacent" here requires that two 1s must be adjacent in four horizontal or vertical directions. You can assume that the four edges of the grid are surrounded by 0 (representing water).
The area of an island ...

Posted on *Wed, 13 Oct 2021 13:19:31 -0400* by **$0.05$**