2c03-review - 00082 - (a Kruskal’s algorithm a b g ± c i...

Info icon This preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
Question 8 Assuming alphabetical ordering, the solution is: A 1 / 12 O 28 / 29 H 14 / 17 I 15 / 16 B 2 / 3 C 4 / 5 G 13 / 18 J 19 / 30 K 20 / 21 D 7 / 8 E 9 / 10 F 6 / 11 N 25 / 26 L 22 / 27 M 23 / 24 Ordering by decreasing finishing times gives the topological sorting: J O L N M K G H I A F E D C B Question 9 Edges are numbered in the order that they are added.
Image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: (a) Kruskal’s algorithm: a b g ± c i e d h 7 1 4 5 6 8 2 3 (b) Prim’s algorithm: a b g ± c i e d h 1 2 5 6 7 8 3 4 2...
View Full Document

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern