Let's test your knowledge. Click the correct answer from the options.
Which step is required to implement a Fenwick Tree?
Click the option that best answers the question.
- Initialize the BIT array with zeros
- Update a value at a specific index
- Calculate the prefix sum up to a given index