Struct competitive_programming_rs::data_structure::fenwick_tree::fenwick_tree::FenwickTree [−][src]
pub struct FenwickTree<T, F> { /* fields omitted */ }Expand description
FenwickTree is a data structure that can efficiently update elements
and calculate prefix sums in a table of numbers.
https://en.wikipedia.org/wiki/Fenwick_tree
Implementations
Constructs a new FenwickTree. The size of FenwickTree should be specified by size.
