A very large number of problems in competitive programming will involve graphs. Today we will talk about three ways we can represent them.

  • Adjacency Matrix
  • Adjacency List
  • Edge List

Slides