Graph Data Structures and related programs

A graph data structure consists of vertices(also called as nodes) that are connected to each other via edges or links.

Graphs can be used to represent networks.
For e.g. you can imagine a network of friends being represented as a graph.
Here each node can be a person and each person is friend of another person.

Traversal Algorithms

Path finding Algorithms