Question d’entretien chez Microsoft

The question was a simple 2sum question