DAA IMPORTANT QUESTIONS
DAA IMPORTANT QUESTIONS
Unit 1
3. Discuss important problem types that you face during Algorithm Analysis.
Apr/May 2019]
8. Write an Algorithm using recursion that determines the GCD of two numbers. Determine
Unit 2
3. Discuss Quick Sort Algorithm and Explain it with example. Derive Worst case and Average
Case Complexity.
6. Write algorithm to find closest pair of points using divide and conquer and explain it with
example. Derive the worst case and average case time complexity. [Nov/Dec 2019]
7. What is Convex hull problem? Explain the brute force approach to solve convex-hull with an
Unit 3
6. Write Huffman code algorithm and derive its complexity. [Apr/May 2019]
7. Outline the Dynamic Programming approach to solve the Optimal Binary Search Tree
Unit 4
3. Outline the stable marriage problem with example. [Nov/Dec 2019]What is bipartite
graph? Is the subset of bipartite graph is bipartite? Outline withexample. [Nov/Dec 2019]
Subject to x1+x2<=20
x1<=12
x2<=16
x1,x2>=0
Unit 5
1. Elaborate how backtracking technique can be used to solve the n-queens problem. Explain
2. ExplainBacktrackingtechnique.
4. Give solution to Subset sum problem using Backtracking technique [Apr/May 2019]
6. Explain the approximation algorithm for the travelling salesman problem (TSP) [Apr/May
2019]
7. Outline the steps to find approximate solution to NP-Hard optimization problems using