retagged by
331 views

1 Answer

0 votes
0 votes

Answer : Only $\text{(i)}$ is correct.

  1. For Fractional Knap Sack we can have Greedy algorithm but that does not give optimal solution for 0/1 Knap Sack .
  2. Prim’s Algorithm to find MST of graph uses Greedy Approach .
  3. Traveling Salesman problem can be solved using Dynamic Programming in 
    $O(2^n.n^2)$

Related questions

0 votes
0 votes
1 answer
1
0 votes
0 votes
1 answer
3
Parshu gate asked Nov 16, 2017
8,294 views
The following Knapsack bag. The Knapsack bag maximum Capacity is 50. Find out the maximum profit for Fractional Knapsack. PQRSTUVWWeight1812161416201015Profit341522161722...
0 votes
0 votes
1 answer
4
LavTheRawkstar asked Apr 15, 2017
4,026 views
Consider the following instance of the knapsack problem: n=3 , W=50 , (v1,v2,v3) = (60,100,120) and weight (w1,w2,w3) = (10,20,30) .solve the given knapsack problem apply...