blob: 7edb39023a9a901436c4abd87f4ccc627f10be18 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
\section{Datenstrukturen}
\subsection{Union-Find}
\lstinputlisting{datastructures/unionFind.cpp}
\subsection{Segmentbaum}
\lstinputlisting{datastructures/segmentTree.cpp}
\lstinline{update()} kann so umgeschrieben werden, dass ganze Intervalle geändert werden.
Dazu muss ein Offset in den inneren Knoten des Baums gespeichert werden.
\subsection{Range Minimum Query}
\lstinputlisting{datastructures/RMQ.cpp}
\subsection{STL-Tree}
\lstinputlisting{datastructures/stlTree.cpp}
|