149. Max Points on a Line (Array; Greedy)
摘要:
Given n points on a 2D plane, find the maximum number of points that lie on the same straight line. 思路:对于某一点来说,在经过该点的直线中选取节点数量最多的直线;对于全局来说,必定是某个局部点满足条 阅读全文
posted @ 2015-10-30 19:23 joannae 阅读(176) 评论(0) 推荐(0) 编辑