Skip to the content.

Graphs

This section contains common algorithms for graph manipulation. Graphs are often used to represent data whose elements are interconnected pairwise, such as a map with roads connecting cities, or a network with nodes connected by links.