equal
deleted
inserted
replaced
299 As there might not be such a tour at all, the first-tour function |
299 As there might not be such a tour at all, the first-tour function |
300 needs to return an \texttt{Option[Path]}.\\\mbox{}\hfill[2 Marks] |
300 needs to return an \texttt{Option[Path]}.\\\mbox{}\hfill[2 Marks] |
301 \end{itemize} |
301 \end{itemize} |
302 |
302 |
303 \noindent |
303 \noindent |
304 \textbf{Testing} The first tour function will be called with board |
304 \textbf{Testing:} The first tour function will be called with board |
305 sizes of up to $8 \times 8$. |
305 sizes of up to $8 \times 8$. |
306 \bigskip |
306 \bigskip |
307 |
307 |
308 \noindent |
308 \noindent |
309 \textbf{Hints:} a useful list function: \texttt{.filter(..)} filters a |
309 \textbf{Hints:} a useful list function: \texttt{.filter(..)} filters a |