Accenture interview question

Toughtest Integration challenge with fix