From 8ec618bf994ee43cd38558f1ca2e6296cbcf12d6 Mon Sep 17 00:00:00 2001 From: Deven <63876261+devenperez@users.noreply.github.com> Date: Sat, 7 Jan 2023 23:50:17 -0500 Subject: [PATCH] Create README - LeetHub --- 149-max-points-on-a-line/README.md | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 149-max-points-on-a-line/README.md diff --git a/149-max-points-on-a-line/README.md b/149-max-points-on-a-line/README.md new file mode 100644 index 0000000..123643b --- /dev/null +++ b/149-max-points-on-a-line/README.md @@ -0,0 +1,25 @@ +
Given an array of points where points[i] = [xi, yi] represents a point on the X-Y plane, return the maximum number of points that lie on the same straight line.
+
Example 1:
+
+Input: points = [[1,1],[2,2],[3,3]] +Output: 3 ++ +
Example 2:
+
+Input: points = [[1,1],[3,2],[5,3],[4,1],[2,3],[1,4]] +Output: 4 ++ +
+
Constraints:
+ +1 <= points.length <= 300points[i].length == 2-104 <= xi, yi <= 104points are unique.