CSE2203 - Digital Assignment 2 - G1 - Slot
CSE2203 - Digital Assignment 2 - G1 - Slot
1. Use any one of the two minimum spanning tree algorithms prim's/kruskal's to compute a
maximum spanning tree of the graph given below.
A maximum spanning tree is the spanning tree with the largest sum of the edge weights
Explain the necessary transformations involved.
Is there any difference in the time complexity of the algorithms to compute the maximum and
the minimum spanning trees? Justify. ( 3 marks)
2.Find the articulation points of the following graph and justify your answer.(Use the
appropriate traversal algorithm and illustrate step by step procedure) ( 2 marks )
3. Consider that there is a row of n coins whose values are some positive integers c1, c2, . . . , cn,
not necessarily distinct. The goal is to pick up the maximum amount of money subject to the
constraint that no two coins adjacent in the initial row can be picked up. Use Dynamic
programming approach and Greedy approach to solve the problem with illustration and give the
comparison based on time complexity.
Input: coin row of denominations:1,5,2,10,1,2,5,20 ( 5 marks)