Max Points on a Line

Given n points on a 2D plane, find the maximum number of points that lie on the same straight line.

https://oj.leetcode.com/problems/max-points-on-a-line/