I have stored the nodes in a text file(separate text for each node that stores the node weights and the nodes adjacent to it). And all these node files form there separate linked list.(Also I dont know how to represnt them to get adjacency list)
Also I have a text file for edges that stores the edge weights with source and destination specified.
Now since there is a path from a1->c1 (via a1->b1 and b1->c1), I dont know how to reach through this path as I need the value of these edges(a1->b1 and b1->c1)
to perform some calculations.