U`ll have to memoize the results....usign dynamic programming....that will reduce time and space.
2009/8/14 Shoubhik <[email protected]> > > > > i had coded da problem... had got INCORRECT... > it was because of my wrong interpretation. > thank you guys,.. > i'll code it again and let you know.. > > Thanks and regards, > Shoubhik > > > -- Lic. Marcelo Diaz. Web & Java developer - OOP helper...:P http://www.linkedin.com/in/marcelogdiaz --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "google-codejam" 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/google-code?hl=en -~----------~----~----~----~------~----~------~--~---
