4.2 Data Structures

 

• A simple data structure for representing a graph is shown below.

 

 

• Consider the graph below.

 

• Representing a graph in Scilab

 

• Representing a graph in C