Grand Temple - Unclear Instructions

The Problem is unclear. Please explain Test Cases w.r.t problem. Thanks in advance

each coordinate has a vertical and horizontal river flowing through it.
You have to find the max area with no river in between.

Can You please explain it with given input cordinates and how the result is calculated?

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)

Hey Lakshay, as you are not responding to this thread, I am marking your doubt as Resolved for now. Re-open it if required. And please mark your doubts as resolved in your course’s “Ask Doubt” section, when your doubt is resolved.