Question d’entretien chez Datadog

probem solving problem 1 : accumulative sum