What is an undirected graph?

Dijkstra Algorithm Questions



80 Short 62 Medium 80 Long Answer Questions Question Index

What is an undirected graph?

An undirected graph is a type of graph where the edges do not have a specific direction associated with them. In other words, the edges between vertices are bidirectional, allowing movement in both directions. This means that if there is an edge connecting vertex A to vertex B, there is also an edge connecting vertex B to vertex A.