summaryrefslogtreecommitdiff
path: root/datastructures/datastructures.tex
blob: 792fc9368ed6484b792ab130565ebd7bfca1041d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
\section{Datenstrukturen}

\subsection{Union-Find}
\lstinputlisting{datastructures/unionFind.cpp}

\subsection{Segmentbaum}
\lstinputlisting{datastructures/segmentTree.cpp}
Mit \lstinline{update()} können ganze Intervalle geändert werden.
Dazu: Offset in den inneren Knoten des Baums speichern.

\subsection{Fenwick Tree}
\lstinputlisting{datastructures/fenwickTree.cpp}
\lstinputlisting{datastructures/fenwickTreeNiklas.cpp}

\subsection{Range Minimum Query}
\lstinputlisting{datastructures/RMQ.cpp}

\subsection{STL-Tree}
\lstinputlisting{datastructures/stlTree.cpp}

\subsection{STL-Rope (Implicit Cartesian Tree)}
\lstinputlisting{datastructures/stlRope.cpp}

\subsection{Treap (Cartesian Tree)}
\lstinputlisting{datastructures/treap.cpp}

\subsection{Skew Heap}
\lstinputlisting{datastructures/skewHeap.cpp}