Infosys interview question

basic computer science questions