\documentclass[11pt,a4paper]{article}
\usepackage[margin=2.5cm]{geometry}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{hyperref}

\title{Data Structures and Algorithms\\Assignment 10 -- Answer Sheet}
\author{First name Last name\\Matriculation number:}
\date{}

\begin{document}
\maketitle

\section*{Exercise 1: Minimum spanning trees}
\subsection*{1)}
Write your answer here.

\subsection*{2)}
Write your answer here.

\subsection*{3)}
Write your answer here.

\section*{Exercise 2: Shortest paths}
\subsection*{1)}
Write your answer here.

\subsection*{2)}
Write your answer here.

\subsection*{3)}
Write your answer here.

\subsection*{4)}
Write your answer here.

\subsection*{5)}
\begin{center}
\begin{tabular}{|c|c|c|}
\hline
v & distTo[] & edgeTo[] \\
\hline
0 & & \\
\hline
1 & & \\
\hline
2 & & \\
\hline
3 & & \\
\hline
4 & & \\
\hline
5 & & \\
\hline
6 & & \\
\hline
7 & & \\
\hline
\end{tabular}
\end{center}

Only fill the rows that change if you prefer a shorter answer.

\end{document}
