Monthly Archives: November 2013

An Easy DP Problem-1

You are given an array a[] of length N. You have to output P such that p=summation of some array elements. An condition must be hold that is if you choose the i-th element of the array, then you mustn’t

Tagged with:
Posted in Dynamic Programming