

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
Prof. Anilaabh Suji took this paper at Aliah University for Data Representation And Algorithm Design course. It includes: Complexity, Algorithms, Weighted, Graph, Spanning, Tree, Euclid, Algorithm, Dijkstra, Fractional, Knapsack
Typology: Exams
1 / 2
This page cannot be seen from the preview
Don't miss anything!


COMP202 Class Exam 2 Complexity of Algorithms 28 March 2007
[NB: This examination contributes 10% to your overall final course grade.]
Answer all questions!
Find a minimum spanning tree of this graph using either algorithm we discussed in class (those of Kruskal and Prim). Draw the subgraph that consists of the edges in your minimum spanning tree and be sure to give its total weight. [20 marks]
item a b c d e f weight 2 1 3 6 4 5 benefit 3 4 5 18 10 6