Linear Data Structures

 

 

 

Nonlinear Data structures

 

 

 

Graph representation   G = (V,E)   V set of vertices, E set of edges

 

 

Some definitions for undirected graphs:

 

 

 

 

 

 

 

 

 

GRAPH PROPERTIES:

 

 

 

 

 

 

Definitions for Rooted Trees

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

BST implementation

Page 35 Fig 1.13

 

First child – next sibling representation of ordered tree.