Tata Interview Question

Focus on technical multiple.