Cognizant interview question

Based on array there। Is coding have to do

Interview Answer

Anonymous

4 Jan 2022

It's logical, went well