From a063f941d618585f83ffb742f2b5a737b3490072 Mon Sep 17 00:00:00 2001 From: Laaksonen Antti H S Date: Wed, 12 Jun 2019 18:47:12 +0300 Subject: [PATCH] Fix list size in example --- chapter04.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chapter04.tex b/chapter04.tex index 6e81d9c..9ae6bdc 100644 --- a/chapter04.tex +++ b/chapter04.tex @@ -714,7 +714,7 @@ that both contain $n$ elements. Our task is to calculate the number of elements that belong to both of the lists. For example, for the lists -\[A = [5,2,8,9,4] \hspace{10px} \textrm{and} \hspace{10px} B = [3,2,9,5],\] +\[A = [5,2,8,9] \hspace{10px} \textrm{and} \hspace{10px} B = [3,2,9,5],\] the answer is 3 because the numbers 2, 5 and 9 belong to both of the lists.