Max Points on a Line

Total Accepted: 369 Total Submissions: 4764 My Submissions

Given n points on a 2D plane, find the maximum number of points that lie on the same straight line.

Discuss


You have not signed in, cannot submit your code.
Submit failed, try again please.
You have attempted to resubmit too soon. Please resubmit in a moment.

Send Feedback