Accenture Interview Question

Technical was based on the syllabus