Topic 1 - Graphs
Topic 1 - Graphs
What is a Graph?
Graph Terminologies
Limitations
1. Complexity and Accessibility: Graph Data Structure can be complex and
difficult to understand, especially for people who are not familiar with graph
theory or related algorithms.
2. High Computational Costs: Creating and manipulating graphs can be
computationally expensive, especially for very large or complex graphs.
3. Challenges in Algorithm Design: Graph algorithms can be difficult to
design and implement correctly, and can be prone to bugs and errors.
4. Visualization and Analysis Challenges: Graph Data Structure can be
difficult to visualize and analyze, especially for very large or complex
graphs, which can make it challenging to extract meaningful insights from
the data.
Applications
Algorithm
Depth First Search
The algorithm starts from a given source and explores all reachable vertices from
the given source. It is similar to Preorder Tree Traversal where we visit the root,
then recur for its children.
Algorithm