Browse Source

Java Muster in .tex eingebaut

master
Joerg Kreiker 7 years ago
parent
commit
263acc51c4
  1. 16
      gsd-questions.tex

16
gsd-questions.tex

@ -9,6 +9,7 @@
\usepackage{colortbl} \usepackage{colortbl}
\usepackage{anysize} \usepackage{anysize}
\usepackage{enumerate} \usepackage{enumerate}
\usepackage{verbatim}
\usepackage[utf8]{inputenc} \usepackage[utf8]{inputenc}
\usepackage{amssymb} \usepackage{amssymb}
@ -50,11 +51,6 @@ $$
2.82 \\ 5.65 \\ 7.81 2.82 \\ 5.65 \\ 7.81
\end{array}\right) \end{array}\right)
$$ $$
\ifdefined\loesung
\begin{verbatim}
Musterloesung here
\end{verbatim}
\fi
\subsection{Merging and Sorting} \subsection{Merging and Sorting}
Let $A$ and $B$ be two arrays of $n$ (unsorted) integer entries each. Write Let $A$ and $B$ be two arrays of $n$ (unsorted) integer entries each. Write
@ -69,11 +65,6 @@ $$
\end{array} \end{array}
$$ $$
\ifdefined\loesung
\begin{verbatim}
Musterloesung here
\end{verbatim}
\fi
\subsection{Recursion} \subsection{Recursion}
@ -81,9 +72,8 @@ Consider a herd of cows. Write a \emph{recursive} function to calculate the
sum of all legs. Use addition only (no multiplication allowed). sum of all legs. Use addition only (no multiplication allowed).
\ifdefined\loesung \ifdefined\loesung
\begin{verbatim}
Musterloesung here
\end{verbatim}
\subsection{Loesung}
\verbatiminput{todten/GSDSolution.java}
\fi \fi
\section{Algorithms and Data Structures} \section{Algorithms and Data Structures}

Loading…
Cancel
Save