Question 9

Given a wall, which is made up of two types of bricks (Porus / opaque ). Porus bricks allow water pass through them. Opaque won’t. Find whether water reaches to ground, if there is any rainfall. Water can flow from top to bottom, diagonally, horizontally as well. Only flowing from bottom to top is not possible.

[advanced_iframe securitykey=”undefined” src=”https://code.kodnest.com/” width=”100%” height=”600″]

×