Accenture interview question

Technical round was challenging