Question d’entretien chez HockeyStack

Some prefix sum question from leetcode