Sunday common C++ interview problem: Maximum number of points on a line.
Given a list of points represented by x and y integer coordinates, determine the maximum number of points that can be connected by drawing a single straight line.
Solve it yourself: https://compiler-explorer.com/z/ej4GhGx3b
Solution: https://compiler-explorer.com/z/6EWGh59rj