diff --git a/src/data_structures/fenwick.md b/src/data_structures/fenwick.md index b6548d291..2ef0db409 100644 --- a/src/data_structures/fenwick.md +++ b/src/data_structures/fenwick.md @@ -380,7 +380,7 @@ int point_query(int idx) { Note: of course it is also possible to increase a single point $A[i]$ with `range_add(i, i, val)`. -### 3. Range Updates and Range Queries +### 3. Range Update and Range Query To support both range updates and range queries we will use two BITs namely $B_1[]$ and $B_2[]$, initialized with zeros.