Search⌘ K
AI Features

Max Points on a Line

Max Points on a Line presents unique points on an X-Y plane and asks you to return the largest count of points sharing one straight line, including vertical and horizontal lines.

Statement

Given an integer array of points where  ...