Practice Problem

Max Points on a Line

Difficulty: Hard

Given an array of points on a 2D plane, find the maximum number of points that lie on the same straight line.