Infosys interview question

Aptitude round