Pregunta de entrevista de Accenture

Logical coding program which included 2 arrays.