Grand Temple Doubt

Can you please explain me the given testcase? as i am unable to understand what to do in this question

Hey Saksham, in this problem you are supposed to find the largest area and you have given the co-ordinates which denotes rivers flowing through the point horizontally as well as vertically. In sample test case you have given input :
3
1 1
2 4
5 2

i.e. 3 co-ordinates are given (1, 1), (2, 4), and (5, 2). So, maximum area will be between (2,2), (2,4), (5,2), (5,4). Max area will be calculated from the edge next to the left edge, the edge above the bottom edge, the topmost edge and the rightmost edge So, actual area considered will be between (3,2), (3,4), (5,2), (5,4) for the region (2,2) , (2,4) , (5,2) , (5,4) .

Hey, 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.