adjacency matrix

Translations
матрица смежности
The algorithm uses an adjacency matrix to represent the graph.
Алгоритм использует матрицу смежности для представления графа.