Infosys Interview Question

Tech part was main part.