pub struct FenwickTree<T, F> { /* private fields */ }
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
pub struct FenwickTree<T, F> { /* private fields */ }
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