It's DP problem -
How many ways there are to represent number A with values from the
array.

On 1 ноя, 20:49, RIDER <[email protected]> wrote:
> given an array how to find number of set which results to give a
> particular sum ( consider continues, noncontinue) both.
>
> example [5, 5, 10, 2, 3] should return 4 (5 + 10, 5 + 10, 5 + 5 + 2 +
> 3, 10 + 2 + 3
>
> can we do any logical  thing to computer sum if range is known??

-- 
You received this message because you are subscribed to the Google Groups 
"Algorithm Geeks" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.

Reply via email to