Question d’entretien chez Microsoft

had to solve two sum question