NeetCode #899LC-149HardMath & Geometry
← Back to All Problems#899 · #149 · Max Points on a Line(直线上最多的点数)
📌 Problem Statement & Constraints
Given an array
points where points[i] = [xi, yi] represents a point on the X-Y plane, return the maximum number of points that lie on a single straight line. Constraints: 1 <= points.length <= 300, -10^4 <= xi, yi <= 10^4, and all points are unique.🔒
Sign In to Unlock Full Solutions for All 973 Problems
Sign in to access step-by-step logic, benchmark Python3 code, complexity breakdown, and offline export!