CodingMedium
Lines passing through origin
Filed under Disney+ Hotstar
The question
Given a set of points, find the number of lines that pass through the origin by selecting exactly two points.
No write-up yet. Related questions below have one.
Related Disney+ Hotstar questions
Collected from public candidate posts and coding forums. Updated Nov 2026.