You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: document/document_en/segtree.html
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -52,7 +52,7 @@ <h1>Segtree</h1>
52
52
<li>associativity: $(a \cdot b) \cdot c$ = $a \cdot (b \cdot c)$ for all $a, b, c \in S$</li>
53
53
<li>existence of the identity element: $a \cdot e$ = $e \cdot a$ = $a$ for all $a \in S$</li>
54
54
</ul>
55
-
<p>Given an array $S$ of length $N$, it processes the following queries in $O(\log N)$ time (see <ahref="./appendix.html">Appendix</a> for further details).</p>
55
+
<p>Given an array $S$ of length $n$, it processes the following queries in $O(\log n)$ time (see <ahref="./appendix.html">Appendix</a> for further details).</p>
56
56
<ul>
57
57
<li>Updating an element</li>
58
58
<li>Calculating the product of the elements of an interval</li>
0 commit comments