You are a professional robber planning to rob houses along a street. Each house has a certain amount of money stashed, the only constraint stopping you from ro...
题目:Max Points on a lineGiven n points on a 2D plane, find the maximum number of points that lie on the same straight line.这道题需要稍微转变一下思路,用斜率来实现,试想找在同一条直线上的点,怎么......