Accenture interview question

Got moved from another project