✅ Перевірена відповідь на це питання доступна нижче. Наші рішення, перевірені спільнотою, допомагають краще зрозуміти матеріал.
Consider the graph below. Give an order in which we mark the vertices if call BFS(A) and we consider neighbours in alphabetical order.
The first marked vertex is: A.