pls anyone explain it.... Please please please
On Thu, Jul 21, 2011 at 12:37 AM, varun pahwa <varunpahwa2...@gmail.com>wrote: > nice solution by ankit. but can anyone tell if we were to find sequence > that may or may not be contiguous. > > > On Thu, Jul 21, 2011 at 12:22 AM, Kamakshii Aggarwal < > kamakshi...@gmail.com> wrote: > >> >> a little mistake in ankur's solution >> 20 , -9 , 3 , 1, 5 , 0, -6 , 9 >> 20 , 11,14,15,20,20(instead of 0),14,23 >> now if sum of two consecutive terms is same then this means a 0 exists.and >> hence it can be printed as a subarray..else ankur's sol works fine..:) >> >> >> On Thu, Jul 21, 2011 at 12:06 AM, sagar pareek <sagarpar...@gmail.com>wrote: >> >>> @ankur.... >>> >>> pls explain through an example by taking above problem..... >>> >>> >>> On Wed, Jul 20, 2011 at 10:52 PM, SAMMM <somnath.nit...@gmail.com>wrote: >>> >>>> >>>> >>>> Nice solution dude .........!!!! Like that one .... >>>> >>>> -- >>>> 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. >>>> >>>> >>> >>> >>> -- >>> **Regards >>> SAGAR PAREEK >>> COMPUTER SCIENCE AND ENGINEERING >>> NIT ALLAHABAD >>> >>> -- >>> 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. >>> >> >> >> >> -- >> Regards, >> Kamakshi >> kamakshi...@gmail.com >> >> -- >> 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. >> > > > > -- > Varun Pahwa > B.Tech (IT) > 7th Sem. > Indian Institute of Information Technology Allahabad. > Ph : 09793899112 > Official Email :: rit2008...@iiita.ac.in > Another Email :: varunpahwa.ii...@gmail.com > > People who fail to plan are those who plan to fail. > > -- > 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. > -- **Regards SAGAR PAREEK COMPUTER SCIENCE AND ENGINEERING NIT ALLAHABAD -- 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.