Back to course home
0% completed
Types of Graph
Types of Graphs
Graphs can vary based on how their edges behave, whether they carry weights, and how their nodes are connected. Understanding graph types is key to choosing the right algorithm for your problem.
1. Undirected Graph
- Edges have no direction.
- If there’s an edge between A and B, you can go from A to B and also from B to A.
- These graphs represent two-way relationships.
Example: A friendship network – if Alice is friends with Bob, Bob is also friends with Alice.
.....
.....
.....
Like the course? Get enrolled and start learning!
Table of Contents
Contents are not accessible
Contents are not accessible
Contents are not accessible
Contents are not accessible
Contents are not accessible