What is the appropriate data structure for Prim's Minimum Spanning Tree algorithm?
Official theoretical question paper for Design And Analysis Of Algorithms (PCC-CS404) conducted by Maulana Abul Kalam Azad University of Technology. All questions from Groups A, B, and C are reproduced below with marks weightings.
What is the appropriate data structure for Prim's Minimum Spanning Tree algorithm?
What is represented by the asymptotic notation O(1)?
Time complexity for recurrence relation T(n)=2 T(n/2) + n is ________.
The notation Ω(n) is the formal way to express the ________ bound of an algorithm's running time.
Fractional knapsack problem is solved most efficiently by which algorithm design technique?
What is the appropriate data structure for Depth First Search algorithm?
Which algorithm is used to solve a maximum flow problem?
How many solutions are there for 8 queens problem on 8*8 board?
Time complexity of Heap sort with n items is ________.
The 0-1 Knapsack problem can be solved using Greedy algorithm -state True or False.
Which algorithm is used to solve the single source shortest path problem in a graph with negative edge weights?
Given items as {value,weight} pairs {(40,20),(30,10),(20,5)}. The capacity of knapsack is 20. Find the maximum value output assuming items to be divisible.
What are the differences between Dijkstra's algorithm and Bellman-Ford algorithm? Compare their time complexities.
Analyze the time complexity of quick sort algorithm for best case and worst case using recurrence relations.
Write the Floyd-Warshall Algorithm for all-pairs shortest path problem. What will be the time complexity?
For the given set of 5 items and the knapsack capacity of 10 kg, find the maximum profit. You are allowed to take fractional amount of any item. Weights, Wi = {3, 3, 2, 5, 1} Profits, Pi = {10, 15, 10, 12, 8}
Write short note on Randomized algorithms.
Find the minimum number of multiplications required for the following matrix chain multiplication using Dynamic programming: A (10 x 20) * B (20 x 50) * C (50 x 1) * D (1 x 100)
Write the algorithm for single source shortest path (-ve edge weights allowed)
Discuss the advantages and drawbacks of Dynamic Programming.
What are the features of any Algorithm?
Discuss the different Asymptotic notations and their importance.
Write the recurrence relation for computing the time complexity of "Towers of Hanoi" problem. Also solve the recurrence relation to get the time complexity.
Write the greedy algorithm for job sequencing with deadline.
Using greedy method, find an optimal solution to the problem of job sequencing with deadline where n=4, (p1,p2,p3,p4)=(100,10,5,27) and (d1,d2,d3,d4)=(2,1,2,1).
Define spanning tree.
Using Prim's algorithm generate the MST from the following graph
Write and explain the classes P, NP, NP-hard and NP-complete.
What is reducibility?
If any NP-complete problem can be solved in polynomial time then P=NP - explain.
What is a Flow Network? What are the constraints of flow in a network?
What is an augmenting path in a flow network? Explain residual capacity - how it is calculated.
Write the Ford-Fulkerson Algorithm for finding maximum flow.