Maximize intersection length
Filed under Airtel
The question
Given N line segments on the X-axis, find the maximum intersection length possible by deleting at most one segment.
No write-up yet. Related questions below have one.
Related Airtel questions
Collected from public candidate posts and coding forums. Updated Nov 2026.