number of solution to the equation....
x1+x2+x3...xk=N  where (x1>=1,x2>=1,...xk>=1)

On Mon, Mar 8, 2010 at 11:54 AM, Anurag Bhatia <[email protected]> wrote:

> @Rohit: Can you explain the solution? I was unable to understand why
> the (n-1) and (k-1) instead of just n and k.
>
> Thanks and regards,
> Anurag Bhatia
>
> On Sun, Mar 7, 2010 at 3:33 PM, Anil C R <[email protected]> wrote:
> > yeah my bad :P...
> > after all the time i struggled with DP :P
> > Anil
> >
> > --
> > 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]<algogeeks%[email protected]>
> .
> > 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 [email protected].
> To unsubscribe from this group, send email to
> [email protected]<algogeeks%[email protected]>
> .
> 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 [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