G=(V,E) is a graph, with V as its vertices (or nodes), and E as its edges (or links).
By convention, n = |V| and m = |E|. What's the largest m can be, assuming no edge appears more than once?
Often, we also have (connected, undirected graph).
For , we write
to be the set of
vertices to which u is directly connected (i.e.,
if and only if
(adjacency list).
Note: Matrices also useful for representing edges: au,v = 1
if and otherwise (adjacency matrix). If A is
an adjacency matrix representing a graph G, which does AT
represent?