Useful Links
Mathematics
Graph Theory
1. Introduction to Graph Theory
2. Fundamental Concepts and Types of Graphs
3. Representing Graphs
4. Paths, Walks, and Cycles
5. Graph Traversal
6. Trees and Forests
7. Shortest Path Algorithms
8. Network Flow
9. Graph Coloring
10. Planar Graphs
11. Matchings
12. Advanced Topics in Graph Theory
Representing Graphs
Adjacency Matrix
Construction and Notation
Matrix Elements
Properties and Interpretation
Symmetry for Undirected Graphs
Sparsity and Density
Diagonal Elements
Operations on Adjacency Matrices
Matrix Multiplication
Path Counting
Powers of Adjacency Matrix
Space Complexity
O(n²) Storage
Memory Considerations
Adjacency List
Construction and Notation
List Structure
Advantages for Sparse Graphs
Space Efficiency
Neighbor Iteration
Dynamic Updates
Implementation Considerations
Incidence Matrix
Construction and Notation
Vertex-Edge Relationships
Properties and Use Cases
Directed vs Undirected Graphs
Edge List
Construction and Notation
Simple Representation
Applications and Limitations
Sorting Considerations
Comparison of Representations
Space Complexity Analysis
Time Complexity for Common Operations
Edge Existence Queries
Neighbor Enumeration
Edge Addition and Deletion
Suitability for Different Graph Types
Dense vs Sparse Graphs
Static vs Dynamic Graphs
Previous
2. Fundamental Concepts and Types of Graphs
Go to top
Next
4. Paths, Walks, and Cycles