Graphs as Data Structures

What are Graphs?

Graphs in data structures are non-linear data structures made up of a finite number of nodes or vertices and the edges that connect them. Graphs in data structures are used to address real-world problems in which it represents the problem area as a network like telephone networks, circuit networks, and social networks.

Basic Graph example

Various types of Graph

Learn more about graphs here.