0 – 1 knapsack uses ______ design technique and fractional knapsack uses _____ design technique to give the optimal solution.

1
divide and conquer, greedy
2
dynamic programming, greedy
3
dynamic programming, divide and conquer
4
both use dynamic programming

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

🌐 Web App Development

Quick Navigation