Accenture interview question

Logical coding program which included 2 arrays.