Cognizant interview question

Based on array there। Is coding have to do

Interview Answer

Anonymous

Jan 4, 2022

It's logical, went well