Mark As Completed Discussion

Let's test your knowledge. Fill in the missing part by typing it in.

One optimization technique for Fenwick Trees is to use ___ indexing instead of one-based indexing. By using zero-based indexing, the first element in the Fenwick Tree has index ___. This can simplify the implementation and eliminate the need for certain adjustments when accessing array elements.

Write the missing line below.