Pergunta de entrevista da empresa DXC Technology

Based on array doesn't remember.