Pergunta de entrevista da empresa Infosys

Aptitude question where the attempt is valued