Jump to content

Recommended Posts

Posted
Ques.1 If P1/W1 is less than P2/W2...less than Pn/Wn, prove greedy generate optimal solution to knapsack prob.?


Ques.2 time complexity of-

for i:= 1 to n do

for j:= i+1 to n do

for k:= j+1 to n do

z= z+1
Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.