Max Points On A Line Algorithm

In contrast to global maxima, which refer to the largest outputs of a function, arg max refers to the inputs, or arguments, at which the function outputs are as large as possible. In mathematics, the arguments of the maxima (abbreviated arg max or argmax) are the points, or components, of the domain of some function at which the function values are maximized.

Max Points On A Line source code, pseudocode and analysis