Pergunta de entrevista da empresa Gusto

Find the maximum number of points on a line (it's a problem straight from Leetcode)