Algorithms · Level 1 of 5
Graph
A structure of nodes connected by edges.
Edges may be directed, weighted, or labeled.
Example
Vocabulary concepts are connected by prerequisite relationships.
Listen to the definition and example
Audio transcript
Graph. A structure of nodes connected by edges. Edges may be directed, weighted, or labeled. For example: Vocabulary concepts are connected by prerequisite relationships.
Explore this concept
Why it matters
This helps you compare problem-solving methods and their computational tradeoffs.
Related concepts
Quick recall question
Try answering before looking back at the definition.