From 362b09086a49bed54182fc177908ba23c1757660 Mon Sep 17 00:00:00 2001 From: Paul Jungeblut Date: Sat, 10 Jun 2017 23:47:37 +0200 Subject: Adding code to find first unused integer in set. --- datastructures/datastructures.tex | 3 +++ 1 file changed, 3 insertions(+) (limited to 'datastructures/datastructures.tex') diff --git a/datastructures/datastructures.tex b/datastructures/datastructures.tex index 7659a7e..a2c5ff6 100644 --- a/datastructures/datastructures.tex +++ b/datastructures/datastructures.tex @@ -23,3 +23,6 @@ Dazu: Offset in den inneren Knoten des Baums speichern. \subsection{Treap (Cartesian Tree)} \lstinputlisting{datastructures/treap.cpp} + +\subsection{Erste unbenutzte natürliche Zahl} +\lstinputlisting{datastructures/firstUnused.cpp} -- cgit v1.2.3