Question d’entretien chez Meta

A cumsum array problem, don't remember the exact question