Infosys Interview Question

very technical