@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]. > 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.
