Grand temple problem

is this problem belongs to searching
And what i have to do search for common point

Hey Neeraj, this problem doesn’t belongs to searching but you can relate it to sorting. You don’t have to search for any common point, you have given the coordinates using which you can find the length and breadth of a rectangle and calculate the area of the rectangles and print the largest area possible.