Domanda di colloquio di Infosys

A DP coding question on their website