20
Weighted Graph Representations
(cont)
Adjacency lists representation with weights:
Note: if non-directed, each edge appears twice with same weight