Physics, asked by kartikbhoriya3093, 10 months ago

You are given a 2d grid. Each cell contains either a 0 or 1. 0 means the cell is empty 1 means there is a tower on that cell. Each tower has height 1. Find max water you can store in the grid. Water can be stored in empty cell if they are surrounded by tower on all sides. If a empty cell is connected to edge of grid then water will flow out

Answers

Answered by mytalkingangela
0

Answer:

you are asking me my question only.

Similar questions