Open devenbhooshan opened 10 years ago
node1.adjList[0][0] -> node adjacent to node1 at index 0. node1.adjList[0][1] -> weight of the edge from node1 to node1.adjList[0][0]
node1.adjList[0][0]
node1
node1.adjList[0][1]
node1.adjList[0][0]
-> node adjacent tonode1
at index 0.node1.adjList[0][1]
-> weight of the edge fromnode1
tonode1.adjList[0][0]