DAA
UNIT 2
- Analyse merge sort algorithm and its ti me complexity.
- Analyse quick sort algorithm with example.
- Explain binary search algorithm with example also define it’s pros and cons.
- Difference between divide and conquer and greedy method.
- Explain general methodology of divide and conquer and give one example.
- Write application of divide and conquer.
- Write characteristics of greedy method.
- Explain greedy method with example.
- Write the control abstraction of divide and conquer algorithm.
- Solve given quick sort algorithm and analyse its time complexity.
56,34,67,2,39,80,30,10,40,11
11. Write prims algorithm using greedy method with example.
12. Explain dijikstra’s algorithm using greedy method and analyse its space complexity.
13. Explain kruskal method with example.
14. Solve the knapsack using greedy method
Profit | 10 | 5 | 15 | 7 | 6 | 18 | 3 |
Weight | 2 | 3 | 5 | 7 | 1 | 4 | 1 |
15. Solve job sequencing problem using greedy method.
Jobs | 35 | 30 | 25 | 20 | 15 | 12 | 5 |
Profit | 3 | 4 | 4 | 2 | 3 | 1 | 2 |
16. Explain Huffman tree with example.
17. Explain strassen’s matrix multiplication.
18. Explain large integer multiplication with example.
0 matching results found