@sumanth can you plz post algorithm in short. On Mon, Nov 1, 2010 at 3:45 PM, sumant hegde <[email protected]> wrote:
> > see attached file > > On Sun, Oct 31, 2010 at 4:27 PM, snehal jain <[email protected]>wrote: > >> Find longest interval:- >> We are given with two arrays A and B..each of size >> N...elements of array contains either 1 or 0... >> we have to find such an interval (p,q)(inclusive) such that the sum of >> all >> the elements of A (between this interval) and sum of all elements of >> B >> (between this interval ) is equal... >> i.e. >> a[p]+a[p+1]....+a[q]= b[p]+b[p+1]....+b[q] >> >> -- >> 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. > -- Sunny Aggrawal B-Tech IV year,CSI Indian Institute Of Technology,Roorkee -- 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.
