Need help in Geometry problem

Revision en1, by introart, 2022-05-28 13:54:34

Question: You are given a set of points and you have to find out the maximum points which lie on the same line.

Now this question is available on both Uva and Leetcode. But the same test case gives different outputs in different OJs.

Testcase:

Can anyone please look into this matter? That would be a great help.

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English introart 2022-05-29 10:50:06 9
en1 English introart 2022-05-28 13:54:34 783 Initial revision (published)