Fix list size in example

This commit is contained in:
Laaksonen Antti H S 2019-06-12 18:47:12 +03:00
parent 068325b6fa
commit a063f941d6
1 changed files with 1 additions and 1 deletions

View File

@ -714,7 +714,7 @@ that both contain $n$ elements.
Our task is to calculate the number of elements Our task is to calculate the number of elements
that belong to both of the lists. that belong to both of the lists.
For example, for 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 the answer is 3 because the numbers 2, 5
and 9 belong to both of the lists. and 9 belong to both of the lists.