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
0
Answer:
you are asking me my question only.
Similar questions
English,
5 months ago
Math,
5 months ago
Computer Science,
5 months ago
Physics,
10 months ago
Social Sciences,
10 months ago
Hindi,
1 year ago