u have not sorted the array . first sort the array nd then apply the
approach. u ll get the ryt ans

On 1 June 2010 21:32, Jitendra Kushwaha <jitendra.th...@gmail.com> wrote:

> Using subset sum method we can solve this. It actually DP
>
> check out Paybill question and its solution on topcoder website
>
> link : http://www.topcoder.com/stat?c=problem_statement&pm=3114&rd=5865
>
> you will have a better understanding of subset sum problem after this
>
> --
> Regards
> Jitendra Kushwaha
> Undergradute Student
> Computer Science & Eng.
> MNNIT, Allahabad
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Algorithm Geeks" group.
> To post to this group, send email to algoge...@googlegroups.com.
> To unsubscribe from this group, send email to
> algogeeks+unsubscr...@googlegroups.com<algogeeks%2bunsubscr...@googlegroups.com>
> .
> For more options, visit this group at
> http://groups.google.com/group/algogeeks?hl=en.
>

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

Reply via email to