can a descriptive explaination be provided to this, unfortunately not clear the idea of for loop
Best Regards Ashish Goel "Think positive and find fuel in failure" +919985813081 +919966006652 On Wed, May 25, 2011 at 4:50 PM, ankit sambyal <[email protected]>wrote: > thanks anshu, i m working with segment trees now. Ur algo seems convincing > to me. > nice solution !! > > > Ankit > > > > > On Wed, May 25, 2011 at 1:54 AM, anshu mishra > <[email protected]>wrote: > >> two thing i have forgot do; >> >> that is at every iteration >> >> rem--; >> last = D[i-1]; >> >> -- >> 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. > -- 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.
