CodingMedium
Find point where maximum lines meet
Filed under Swiggy
The question
Given N lines represented by their x1 and x2 coordinates, find the point on a vertical line where the maximum number of lines intersect.
No write-up yet. Related questions below have one.
Related Swiggy questions
Collected from public candidate posts and coding forums. Updated Nov 2026.