Click on any exercise below to see the source code, program output and explanation of the code. The exercises in this section make use of graphs. A graph is a set of nodes (called vertices) together with a set of edges that connect pairs of distinct vertices (with at most one edge connecting any pair of nodes).

**Available Exercises**