Question d’entretien chez Meituan

Cumulative Sum over An array/Cumulative Product over An array