Question d’entretien chez FactWise

I was asked a Array based coding question.