Velocity Learn

Topics on Graph Theory


By Nachiket Bhuta03 July 2020

Depth First Search finds the lexicographical first path in the graph from a source vertex u to each vertex.

3 mins read
By Nachiket Bhuta04 July 2020

A graph is said to be disconnected if it is not connected, i.e. if two nodes exist in the graph such that there is no edge in between those nodes. In an undirected graph, a connected component is a set of vertices in a graph that are linked to each other by paths.

4 mins read
By Nachiket Bhuta04 July 2020

A bipartite graph is a graph whose vertices can be divided into two disjoint sets so that every edge connects two vertices from different sets (i.e. there are no edges which connect vertices from the same set).

4 mins read
By Nachiket Bhuta06 July 2020

A undirected graph is said to be cyclic if there exists atleast one cycle among the vertices in the graph. If cycles are found, print all the cycles.

4 mins read
By Nachiket Bhuta07 July 2020

Given an undirected graph, find the distance between source vertex to all the other vertices in the graph.

4 mins read
By Nachiket Bhuta08 July 2020

Breadth first search is one of the basic and essential searching algorithms on graphs.

2 mins read