Question 1
Perform Bucket sort for following sequence: 30, 12, 22, 66, 48, 27, 35, 43, 47, 41.
Explain the bubble sort algorithm and derive its best case, worst case, and average case time complexity.
Perform Bucket sort for following sequence: 30, 12, 22, 66, 48, 27, 35, 43, 47, 41.
Explain the bubble sort algorithm and derive its best case, worst case, and average case time complexity.
What is a recurrence? Solve recurrence equation for T (n) =T (n-1) + 1 using substitution method.
Discuss Binary search algorithm, also write and solve its recurrence relation.
Given the denominations: d1=1, d2=4, d3=6. Calculate for making change of Rs. 8 using dynamic programming.
Consider weights w=(3,4,6,5) and profit v=(2,3,1,4) and Knapsack capacity W=8. Find the maximum profit using dynamic approach.
40, b: 20, c: 15, d: 30, e: 10.
Draw the minimum spanning tree correspond to following graph using Prim’s algorithm and find the MST weight:
Differentiate between Kruskal’s algorithm and Prim’s algorithm for finding MST.
Draw the minimum spanning tree correspond to following graph using Kruskal’s algorithm and find weight of MST:
What is state space tree. How do you solve the Eight queens problem using backtracking with the help of state space tree.
Differentiate between Backtracking and Branch-and-Bound algorithms.
Define P, NP, NP complete and NP-Hard problems. Give examples of each.
Circulate this solved paper with KaTeX formulas and 1-click AI step solvers to your batchmates on WhatsApp or Telegram.
Official Gujarat Technological University (GTU) examination paper and step-by-step solutions for Analysis and Design of Algorithms (ADA) (Summer 2023, B.E. · Computer Engineering, Sem 5). Features complete 70-mark regular & remedial examination pattern, official marking distribution across all 5 questions, and direct 1-click official PDF download.
Transcribed for student exam preparation from Gujarat Technological University official examination archives. Questions, syllabus guidelines, and curriculum marking schemes remain the intellectual property of Gujarat Technological University.