You are given a list of coordinates that represent the bottom left and top right coordinates of the rectangle. You have to find a line parallel to the y-axis which will divide all the rectangles into 2 equal halves.
Overlapping is allowed....
I gave an approach but interviewer didn't seem convinced. Can you guys share any approaches?