Max Points on a Line at Sprinklr

Hard30.2% acceptance

This problem has 50.0% frequency at Sprinklr.

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 hints

Topics

Also asked at 15 companies


More Sprinklr Questions

View all Sprinklr questions