Frage im Vorstellungsgespräch bei La Cigogne Française

A little problem-solving question about an array