Frage im Vorstellungsgespräch bei Meituan

Cumulative Sum over An array/Cumulative Product over An array