# Problem Definition

## Description

Given n points on a 2D plane, find the maximum number of points that lie on the same straight line.

Sample Input :

```plaintext
(1, 1)
(2, 2)
```

Sample Output: 2

You will be give 2 arrays X and Y. Each point is represented by (X[i], Y[i])

## Notes

1. [LeetCode discussion](https://leetcode.com/problems/max-points-on-a-line/discuss/47113/A-java-solution-with-notes)