

0 / 2 embers
0 / 3000 xp
click for more info
Complete a lesson to start your streak
click for more info
Difficulty: 6
click for more info
Not enough gems
Cost: 6 gems
1: Graphs
incomplete
2: Graph Review
incomplete
3: Adjacency List
incomplete
4: Representing Graphs
incomplete
5: Adjacent Nodes
incomplete
6: Unconnected Vertices
incomplete
Back
ctrl+,
Next
ctrl+.
This lesson's interactive features are locked, please to keep using them
When an algorithm traverses a graph, it typically moves across the edges.
| Use Case | Vertex | Edge |
|---|---|---|
| Social Networks | User | Connection |
| Road Maps | Location | Road |
| Networks | Computer | Cable |
| Game Dev | Tile | Path |
| AI Decision | State | Action |
n(n - 1)/2 edges for n vertices.