Skip to main content
PProfileMatch

Arrays and Strings · Prefix Sums and Difference Arrays in Python: Range Queries and Updates

Question 1 of 5

With prefix[0] = 0 and prefix[i] the total of the first i values, which expression gives the sum of values[3] through values[6] inclusive?

Tip: press 1-4 to answer, Enter to continue. Finish the quiz to bank your XP.