Max Points on a Line(improve)

来源:互联网 发布:图片大小编辑软件 编辑:程序博客网 时间:2024/06/08 15:23

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

Saw this type of code, while, similar idea of my code, but much better in handling the 'inf' slope and same point count case.



0 0