I donot understand the question
I donot understand the question
Hi @garganshul151
In this problem you will be given points by user. For each point entire row and column will be considered as river. Now you have to find the max area present between the rivers. 
In the image you can see that grey colour row and column represents the river and now to have to code accordingly so as to find the max area present. ( which is the white area present in the image )
In this problem all we need to do is just store all the X and Y coordinates and then sort them. Then we will calculate maximum ΔX and ΔY where ΔX = (Xi -Xi-1) & ΔY = (Yi -Yi-1). Then the area will be (ΔY-1)*(ΔX-1)
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.