Reading material

Pages 560-561 and 567-570 (Section 12.3.1 and 12.3.2)

Additional material

Depth-first search and breadth-first search: PostScript and PDF

Question

Give an algorithm that returns the vertices that are part of the connected component of the vertex v.