Hello, I didn’t understand the question, especially the test case. My expected answer is 3 for the test case.
Problem regarding GRAND TEMPLE problem
Please, help me with the question…
My bad, I mistakenly misdrawn the diagram. But can you help me with the approach.
You have to follow the greedy approach to solve this problem, you are given x and y coordinates, sort them and based on that calculate change in x and change in y values, take max values of both and then calculate the area… You can refer to the webinar given in online lecture for better understanding
can you please give the dry run of the sample testcase?