Accenture Interview Question

data structure