Adaq 1
Adaq 1
Adaq 1
SECTION _ A
6. What is the worst case, best case and average case of linear search ?
7. Write the difference between divide, conquer and dynamic programming.
8. Write an algorithm for binary search.
SECTION _ B
e=[''-l"=['
L3 4)
1l
(8+6)
2) lz
13. a) ,Find the optimal solution for the given constraints using Greedy Knapask
problem.
(7+7)