Question d’entretien chez Accenture

Basic logic question (not programming related) followed by two explicit coding questions.