Pergunta de entrevista da empresa Accenture

Logical coding program which included 2 arrays.