Question d’entretien chez Apple

Two sum problem and polymorphism