Infosys interview question

Questions were scenario based