Line intersection and visible paintings count
Filed under Snapdeal
The question
Check whether two given line segments intersect using endpoint coordinates, and find the number of visible paintings given their 1D endpoint coordinates.
No write-up yet. Related questions below have one.
Related Snapdeal questions
Collected from public candidate posts and coding forums. Updated Nov 2026.