Hi guys,
i'm reading a few examples about recurtion in the internet and came across this example: The 0-1 Knapsack Problem In C | DZone
two things:
1. is this a recursive code ?
2. how can i write it in a more general way.. say i have N items and N<=30, and the value is V and weight is Wi and maximum wegight is W?
in this case i still need the difine ?
thanks.