Question d’entretien chez Infosys

A DP coding question on their website