History, asked by expert7490, 1 year ago

Find the maximum number of points that lie on the same straight line javascript github

Answers

Answered by Anonymous
1

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

Sample Input :

(1, 1)

(2, 2)

Sample Output :

2

You will be give 2 arrays X and Y. Each point is represented by

Similar questions