Find maximum number of overlapping line segments
Filed under Persistent
The question
Given an array of 1D line segments defined by their start and end points [x1, x2] on the X-axis, find the maximum number of overlapping line segments at any point.
No write-up yet. Related questions below have one.
Related Persistent questions
Collected from public candidate posts and coding forums. Updated Nov 2026.