0
Python question
Single File Programming Question A field is a 2D plane. Each cell is water 'W' or a tree 'T'. A jungle is a collection of connected trees. Two trees are connected if they share a side, i.e. if they are next to each other. Your task is to print the size of the largest jungle. The size of a jungle is the number of trees in it. See the sample case for clarity. Input format The first line contains the size of the matrix N. The next N lines contain N characters each, either 'W' or 'T'. Output format The output prints the size of the jungle forest. Cada a
1 Answer
0
this section is for Q & A only.
you can post your challenges here
https://www.sololearn.com/Discuss/1270852/?ref=app