Concept Flow - Adjacency List Representation
Start
Create empty adjacency list
For each edge (u, v)
Add v to u's list
Add u to v's list (if undirected)
Repeat for all edges
Adjacency list ready
Build an adjacency list by adding each edge's nodes to each other's lists for undirected graphs.
