Infosys Interview Question

Based on internships, work ex