Infosys interview question

DatabAse