Accenture Interview Question

Regarding some large code to write