

































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


































What is a graph?
Directed vs. undirected graphs
Directed vs. undirected graphs (cont.) E(Graph2) = {(1,3) (3,1) (5,9) (9,11) (5,7) Warning : if the graph is directed, the order of the vertices in each edge is important !!
Graph terminology
Graph implementation
Graph implementation (cont.)
Linked-list implementation
Graph searching
Depth-First-Search (DFS)
start end (initialization)