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:
- Test Case in Leetcode input format
- Test Case in Uva input format
According to the Leetcode: The answer is
5
- According to the test case on UDebug: The answer is
6
Can anyone please look into this matter? That would be a great help.