10.09.2013 Views

1. Advanced Data Structure using C++

1. Advanced Data Structure using C++

1. Advanced Data Structure using C++

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

LECTURE NOTES OF ADVANCED DATA STRUCTURE (MT-CSE 110)<br />

this is not the only multi‐list representation for this graph. It is based on the set<br />

of edges {(1,2),(2,2),(2,3),(4,3),(3,5),(3,6)}.an alternative representation based<br />

upon the set edges .{(2,1),(2,2),(2,3),(3,4),(5,3),(3,6)} is shown in fig:k. if the<br />

graph were directed ,there would not be such flexibility in selecting identifiers<br />

for edges an edge wieght can be stored with the other information recorded for<br />

the edge ,just as was done in earlier example of graph representations .<br />

Traversal Algorithms<br />

Prepared By :­<br />

Er. Harvinder Singh<br />

Assist Prof., CSE, H.C.T.M (Kaithal) Page ‐ 82 ‐

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!