Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit195a1cd

Browse files
Update src/data_structures/fenwick.md
Co-authored-by: Oleksandr Kulkov <adamant.pwn@gmail.com>
1 parent7da7a2b commit195a1cd

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

‎src/data_structures/fenwick.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ The Fenwick tree is a data structure which:
1919

2020
The most common application of a Fenwick tree is_calculating the sum of a range_.
2121
For example, using addition over the set of integers as the group operation, i.e. $f(x,y) = x + y$: the binary operation, $*$, is $+$ in this case, so $A_l * A_{l+1} * \dots * A_r = A_l + A_{l+1} + \dots + A_{r}$.
22-
(In terms of $f$, this would be $f(A_l, f(A_{l+1}, f(f(\dots, \dots),A_r)))$, or any other equivalent way to write this using associativity.)
2322

2423
The Fenwick tree is also called a**Binary Indexed Tree** (BIT).
2524
It was first described in a paper titled "A new data structure for cumulative frequency tables" (Peter M. Fenwick, 1994).

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp