โ† PayPal questions

Count maximum points on the same line

Filed under PayPal

Given an array of 2D coordinates, return the maximum number of points that lie on the same straight line.

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related PayPal questions

Collected from public candidate posts and coding forums. Updated Nov 2026.