Domanda di colloquio di FactWise

I was asked a Array based coding question.