What is a graph?
A graph is a data structure consisting of a set of vertices/nodes connected by edges
What is a directed graph?
A graph in which the edges can only be traversed in one direction.
What is an undirected graph?
A graph in which the edges can be traversed in both directions.
What is a weighted graph?
A graph in which the edges have a value when traversing
Give two ways of representing graphs so that they can be understood by computers.
Adjacency Matrix, Adjacency List
What are the advantages of using an adjacency matrix?
What are the advantages of using an Adjacency List?
Space efficient for large sparse networks