Question Bank of Advanced Data Structures and Algorithm Analysis(CSAPC301)
Question Bank of Advanced Data Structures and Algorithm Analysis(CSAPC301)
(AUTONOMOUS)
Karakambadi Road, TIRUPATI – 517507
Question bank
Name of the
CSE/B.Tech
Branch/Course
ADVANCED DATA STRUCTURES AND
Subject
ALGORITHM ANALYSIS
Subject Code CS23APC301
0 10 15 20
9
5 0 9 10
6 13 0 12
8 8 9 0
10 Explain 0/1 knapsack problem by using backtracking solution for n=8, m=110, (w1, w2,
w3, w4, w5, w6, w7, w8) = (11, 21, 31, 33, 43, 53, 55, 65) and (p1, p2, p3, p4, p5, p6, p7,
p8) = (1, 11, 21, 23, 33, 43, 45, 55).
Unit – 5
1 What is branch and bound? Explain with general method?
2 Compare and contrast NP Hard and NP Complete.
Solve Travelling Salesperson Problem using Branch and Bound for given graph
Describe the travelling salesman problem and discuss how to solve it using LCBB.
∞ 20 30 10 11
15 ∞ 16 4 2
4 3 5 ∞ 2 4
19 6 18 ∞ 3
16 4 7 16 ∞