Mark As Completed Discussion

Are you sure you're getting this? Fill in the missing part by typing it in.

To perform a range sum query using a Fenwick Tree, we need to calculate the cumulative sum for the __ position in the range.

Write the missing line below.