Accenture interview question

Programming algorithms