Accenture Interview Question

Logical coding program which included 2 arrays.