Algorithms_in_C++ 1.0.0
Set of algorithms implemented in C++.
|
Fenwick tree. More...
#include <cassert>
#include <iostream>
#include <vector>
Classes | |
class | FenwickTree |
Functions | |
int | main () |
Fenwick tree.
A Fenwick tree or binary indexed tree is a data structure that can efficiently update elements and calculate prefix sums in a table of numbers.
int main | ( | void | ) |
Main function