diff options
| author | Noobie99 <noob999noob999@gmail.com> | 2023-02-16 20:34:47 +0100 |
|---|---|---|
| committer | Noobie99 <noob999noob999@gmail.com> | 2023-02-16 20:34:47 +0100 |
| commit | 3acf0a0820da8c7357f381ac3c2a4be3bee08184 (patch) | |
| tree | 3a8363d3a66c508fda16c9be38114656024d0f63 /datastructures/datastructures.tex | |
| parent | 48f36b5c91b3dd4a5c43390ce14f1a7e05174929 (diff) | |
Improved Lazy Segment Tree
Diffstat (limited to 'datastructures/datastructures.tex')
| -rw-r--r-- | datastructures/datastructures.tex | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/datastructures/datastructures.tex b/datastructures/datastructures.tex index 9e954e7..fc72b0b 100644 --- a/datastructures/datastructures.tex +++ b/datastructures/datastructures.tex @@ -19,12 +19,11 @@ \sourcecode{datastructures/segmentTree.cpp} \subsubsection{Lazy Propagation} - Increment modifications, maximum queries - \sourcecode{datastructures/lazyPropagation1.cpp} - - Assignment modifications, sum queries - \sourcecode{datastructures/lazyPropagation2.cpp} + Assignment modifications, sum queries \\ + \method{find\_first}{erster Index in [l, r) $\geq$ x (erfordert max-combine)}{\log(n)} + \sourcecode{datastructures/lazyPropagation.cpp} \end{algorithm} +\clearpage \begin{algorithm}{Fenwick Tree} \begin{methods} |
