in Algorithms retagged by
332 views
0 votes
0 votes

in Algorithms retagged by
332 views

1 comment

Only statement 2 is correct. Rest all wrong.
1
1

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