Given n horizontal line segments are arranged on the X-axis of a 2D plane. The start and end point of each line segment is given in an nx2 matrix lines[ ][ ], the task is to find the maximum number of intersections possible of any vertical line with the given
This is a summary. For the full story, refer to the original source. Public of India presents verified citizen-relevant reporting.