Skip to main content
grasp.study
About
Explore
Pricing
Log in
Try it for free
Back to course
👋
Welcome to a Grasp lesson
Create a free account
to keep studying and create your own study path.
Graph Theory for Competitive Programming
·
Module 1
Graph Fundamentals and Representations
1
Introduction to Graphs: Components and Classification
Define a graph, its components (vertices, edges), and classify graphs as directed/undirected and weighted/unweighted.
2
Understanding Degrees and the Handshaking Lemma
Define vertex degree, in-degree, and out-degree, and apply the handshaking lemma.
3
Graph Traversal: Paths, Cycles, and Components
Identify paths, cycles, and connected components within a graph.
4
Adjacency Matrix Representation in C++
Represent a graph using an adjacency matrix in C++.
5
Adjacency List Representation in C++
Represent a graph using an adjacency list in C++.
6
Adjacency Matrix vs. Adjacency List: Complexity Trade-offs
Compare the time and space complexity trade-offs between adjacency matrix and adjacency list representations.
Previous module
Next module
Core Traversal Algorithms: BFS & DFS