Infosys interview question

7 layers