Accenture interview question

Asking apti n coding question