adjacency-list

Graph – Adjacency List solved as Linked List

Graph – Adjacency List solved as Linked List Question: What does this line do? node.next = self.graph[src] EX: [1:2] here I know how to make 2 as a node, then make index 1 equal it, but what if i have [1:3] too, how to add 3 to 2? Here’s the full code of Adjacency List …

Total answers: 1