Question d’entretien chez Microsoft

Algorithm optimization from o(n^2) to o(n)