Problem 149 · Hard

Max Points on a Line

For each anchor point, hash the reduced slope to every other point and find the largest bucket.

Open the interactive visualisation