Description:

  1. Adjacency matrix:
    • A matrix which has 1 at if points to , otherwise 0
    • If the graph is undirected, then and the matrix 𝐴 is symmetric about the diagonal.
      • Can be waste of memory
  2. Adjacency list:
    • 1 list for each vertex and it is 1 (or the weight) if it has edge to
  3. Edge list:
    • A list of