Domanda di colloquio di Capgemini

Explain the algorithm of code you used in coding round