Identify the edges from the adjacency list representation of a graph.