Search⌘ K
AI Features

Max Points on a Line

Max Points on a Line gives an array of unique points on the X–Y plane. Return the greatest number of points that lie on one straight line, including vertical lines.

Statement

Given an integer array of points where  ...