
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Material Type: Assignment; Class: Data Struct & Algorithms; Subject: Computer Science; University: University of San Francisco (CA); Term: Spring 2005;
Typology: Assignments
1 / 1
This page cannot be seen from the preview
Don't miss anything!

(a) Prove the base case. That is, show that if G is a connected graph with k ≥ 3 vertices and G contains a simple cycle on all k vertices, then G contains at least k edges. Hint: Count the edges in a simple cycle. (b) State the induction hypothesis. (c) What do you need to show in the induction step? What are you assuming? What do you need to prove? (d) Extra Credit. Complete the induction step. Hint: in going from the case m = m 0 + 1 vertices in the complement of C to the case m = m 0 vertices in the complement of C, use a DFS of G. The DFS should visit the vertices in C first. Then the vertex that needs to be deleted can be chosen to be a leaf in the depth-first spanning tree.