Dongre Technoquip interview question

Explain the code you have written in the aptitude test