Infosys interview question

Asked only basic questions