please help how to approach this question
Not getting the approach to this question
This question is based on greedy approach, you are given the x and y coordinates, sort both of them and based on that calculate max change in x and max change in y, and then calculate the area, by multiplying x and y. You can also refer to the webinar of greedy algo, of prateek bhaiya for better understanding