✅ Перевірена відповідь на це питання доступна нижче. Наші рішення, перевірені спільнотою, допомагають краще зрозуміти матеріал.
Let A=[a_0, a_1, \cdots, a_{m-1}] be a list of
m distinct integers.
Let B=[b_0, b_1, \cdots, b_{n-1}] be a list of
n distinct integers.
Find the correct sequence of statements for an algorithm that returns the cardinality of A \cap B.