Question d’entretien chez Simba Technologies

One simple algorithm question having to do with array manipulation.