Max Points on a Line at Twitter
Hard30.2% acceptance
This problem has 100.0% frequency at Twitter.
Problem Description
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_.
Read full problem and hintsTopics
Also asked at 15 companies
More Twitter Questions
Integer to RomanMediumTrapping Rain WaterHardMultiply StringsMediumMerge IntervalsMediumPermutation SequenceHard
View all Twitter questions