I want help to explain the behavior of this code
this code reads an undirected graph then store list of the edges in
list vector, then in the
adj vector I store adjacency list of the graph where I actually store pointers to the edges from
but as you can see there's some random big numbers appear in the output but I don't know how, maybe I am making some undefined behavior some where? , any help would be appreciated.