@nitin .. Output array is not a new array ... you can do anything to input array ..
~raju On Fri, Sep 30, 2011 at 1:24 PM, Nitin Garg <nitin.garg.i...@gmail.com>wrote: > Can we assume the output array is a new array and we can distort the > originial array??? > > > On Fri, Sep 30, 2011 at 9:14 AM, praveen raj <praveen0...@gmail.com>wrote: > >> Take two array... one will take care of left products... and othr will >> take care of right product.. at any index.... left[i]=A[i-1]*left[i-1] >> starting from left and right[i]= A[i+1]*right[i+1] starting frm right…… >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Algorithm Geeks" group. >> To post to this group, send email to algogeeks@googlegroups.com. >> To unsubscribe from this group, send email to >> algogeeks+unsubscr...@googlegroups.com. >> For more options, visit this group at >> http://groups.google.com/group/algogeeks?hl=en. >> > > > > -- > Nitin Garg > > "Personality can open doors, but only Character can keep them open" > > -- > You received this message because you are subscribed to the Google Groups > "Algorithm Geeks" group. > To post to this group, send email to algogeeks@googlegroups.com. > To unsubscribe from this group, send email to > algogeeks+unsubscr...@googlegroups.com. > 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 algogeeks@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.