[LeetCode]Max Points on a Line
摘要:题目:Givennpoints on a 2D plane, find the maximum number of points that lie on the same straight line.算法分析:定义最大直线为符合相同条件的直线中通过点最多的那条直线。对每个点p,计算其它的点与p形成的...
阅读全文
posted @ 2014-05-13 11:33
posted @ 2014-05-13 11:33
posted @ 2014-05-12 19:08
posted @ 2014-05-12 19:01