diff options
| author | Gloria Mundi <gloria@gloria-mundi.eu> | 2024-04-01 21:16:06 +0200 |
|---|---|---|
| committer | Gloria Mundi <gloria@gloria-mundi.eu> | 2024-04-01 21:16:06 +0200 |
| commit | 5f915f9035e0ff713b80a66be4f7e8407711acfe (patch) | |
| tree | 4ebdbc86532e949de7c27cf521c978b379c585a6 /datastructures | |
| parent | a0aaa2e730bce1bbc2717045bc964a97de91d7a1 (diff) | |
add explanation to Li Chao tree
Diffstat (limited to 'datastructures')
| -rw-r--r-- | datastructures/datastructures.tex | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/datastructures/datastructures.tex b/datastructures/datastructures.tex index 131a32f..ffa4c40 100644 --- a/datastructures/datastructures.tex +++ b/datastructures/datastructures.tex @@ -109,6 +109,12 @@ \end{methods} \sourcecode{datastructures/dynamicConvexHull.cpp} \subsubsection{Li Chao Tree} + Every pair of functions has at most one intersection. + + \begin{methods} + \method{insert}{add function}{\log(|xs|)} + \method{query}{minimum value at $x$, $x \in xs$}{\log(|xs|)} + \end{methods} \sourcecode{datastructures/lichao.cpp} \end{algorithm} |
