Question d’entretien chez Cognizant

To solve a DSA question while explaining our intuition