Infosys interview question

more reasoning and verbal problems