Skip to content

Commit 51dfeb1

Browse files
committed
Revise README
1 parent ba70b60 commit 51dfeb1

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

lib/cpalgo/ds/README.md

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,20 @@ a.k.a Union Find Tree
88
- [道路の老朽化対策について - AtCoder ABC040D](https://atcoder.jp/contests/abc040/tasks/abc040_d)
99

1010
## Binary Indexed Tree
11-
🚧
12-
a.k.a Fenwick Tree
11+
12+
Binary Indexed Tree (Fenwick Tree) is a data structure.
13+
- It can calculate a cumulative function in the given range `[l,r)` in `O(logN)`.
14+
- It can update an element of A in `O(logN)`.
15+
16+
- [Binary Indexed Tree | C++ code](binary_indexed_tree.hpp)
17+
- [Binary Indexed Tree 2D | C++ code](binary_indexed_tree_2d.hpp)
18+
19+
### References in English
20+
- [Binary Indexed Trees](https://www.topcoder.com/thrive/articles/Binary%20Indexed%20Trees)
21+
- [Fenwick Tree - Competitive Programming Algorithms](https://cp-algorithms.com/data_structures/fenwick.html)
22+
23+
### References in Japanese
24+
- [Binary Indexed Tree のはなし](http://hos.ac/slides/20140319_bit.pdf)
1325

1426
## Minimum Queue
1527
🚧WIP

0 commit comments

Comments
 (0)