A graph is a non-linear data structure that can be looked at as a collection of vertices (or nodes) potentially connected by line segments named edges.
Types of graphs:
Directed: Here nodes points to other nodes with directoion
Undirected: No direction for the links between the nodes (the edges)
Complete: Each node points to all other nodes
Connected: Each node has a link or more to other nodes
Disconnected: Some nodes cannot be connected to some other nodes
Acyclic: No path (i.e. a set of links) can lead back to the same node
Cyclic: Some paths (i.e. a set of links) can lead back to the same node
Adjacency Matrix
Adjacency List