Ex 6-Design and Analysis of Algorithms
Ex 6-Design and Analysis of Algorithms
Submitted by:
Gowtham P
22z325
BE - CSE(G2)
PSG College of Technology
Coimbatore.
Date : 02 . 05 . 2024
Exercise: 6 : 0/1 knapsack Problem using Dynamic programming
Source code:
#include<stdio.h>
return result;
}
int main() {
int W, n;