Introduction
A graph is a non-linear data structure consisting of a finite set of vertices and edges connecting them.

A path in a graph is a sequence of vertices such that every pair of neighboring vertices is connected by an edge. In other words, for every , there is an edge between and .







