Accenture interview question

Based on final year project