Pergunta de entrevista da empresa Infosys

Explain the code you wrote during the pen and paper round.