Infosys interview question

Coredata