DSA8
DSA8
Graph
Introduction
• Data structure used to model a large variety
of data.
• Graph algorithms are useful in a huge
number of applications in computer science.
• Used in data storage
• Computer networks
FIGURE (a) A campus map as a graph;
(b) a subgraph
FIGURE Graphs that are (a) connected;
(b) disconnected; and (c) complete
May 30, 2021 5
May 30, 2021 6
Examples of graph