Showing posts with label Knapsack Problem. Show all posts
Showing posts with label Knapsack Problem. Show all posts

Monday, May 2, 2011

Data Structure Knapsack Problem

/* Knapsack Problem Using Backtracking*/
#include<stdio.h>
int x[12],w[12],pr[12],m,n,z,val;
void main()
{