По вашему запросу: why does dijkstra algorithm does not check if the node is visited but prims does найдено 0