Fenwick Trees

A Fenwick Tree is similar to a segment tree but uses a different pattern to store the data. We use bit patterns to determine which node of the Fenwick Tree to use.

Materials