Posts

Graphs

A graph is a useful data structure in Computer Science as it consists of a set of nodes connected to each other with vertices. A pair of nodes is an edge (line if the graph is undirected, arrow if the graph is directed).