what would be size of grid ?
it’s not mentioned exclusively in question.
Grand temple poblem
assume grid to be infinte size , becasue size of grid dont matter in the question
then always largest area would be infinity.
or we consider only river surrounded area.
Surrounded area would be finite if only if number of given coordinate > 1.
yes!!
only consider those rectangles which are surrounded on all four sides ,