Accenture interview question

Basics