Accenture Interview Question

Question was based on DDIC