What is a disconnected graph?

Dijkstra Algorithm Questions



80 Short 62 Medium 80 Long Answer Questions Question Index

What is a disconnected graph?

A disconnected graph is a graph in which there are two or more vertices that are not connected by any edges. In other words, there are multiple isolated components or subgraphs within the graph, and there is no path between these components.