Accenture interview question

There was one coding round.