It is obvious that the main purpose of many algorithms relates with operations on data, and the data structure plays an important role in choosing an algorithm. In this chapter, we will discuss nonlinear data structures such as graphs.
In the preceding graph, the set of nodes N = {A,B,D,E,K,J} and the set of edges E = ...