Overview - Graph Terminology Vertices Edges Directed Undirected Weighted
What is it?
A graph is a way to show connections between things. These things are called vertices or nodes. The connections between them are called edges. Graphs can have directions on edges, and edges can have weights showing strength or cost.
Why it matters
Graphs help us understand and solve many real problems like maps, social networks, and routes. Without graphs, it would be hard to model relationships or find paths efficiently in complex systems.
Where it fits
Before learning graphs, you should know basic data structures like arrays and lists. After this, you can learn graph algorithms like searching and shortest paths.
