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