Question d’entretien chez IBM

DSA Question based on two pointer