leetcode: Max Points on a Line 题解
摘要:
题目:Givennpoints on a 2D plane, find the maximum number of points that lie on the same straight line.思路:(1)两点确定一条直线(2)斜率相同的点落在一条直线上(3)坐标相同的两个不同的点 算作2个点... 阅读全文
posted @ 2014-11-10 21:11 lucifer_Yu 阅读(148) 评论(0) 推荐(0) 编辑