First of all how will u know the pivot points if u don't know original array secondly if u know pivot points and suppose u want to find 12 in ur above example then how will u first of all find "2" as u dont know the shift number On Sun, Aug 14, 2011 at 1:36 AM, sagar pareek <sagarpar...@gmail.com> wrote:
> kk > > > On Sat, Aug 13, 2011 at 9:26 PM, WgpShashank > <shashank7andr...@gmail.com>wrote: > >> @Sagar Dude , "oh common shashank...its not that easy u told....." I Hope >> You Understand the question properly ? or you are talking about "*bitonic >> sequence"* if not then just point the obvious or no-obvious bug in >> above algorithm, Same Algo is coded below by Yasir, also Kunal Also >> suggested some improvement to reduce the number instruction , i don't think >> anything wrong in the algorithm ?? >> >> Just Check The Code ,Still if anything wrong do notify me , i will >> seriously look at that again ? >> >> *Regards >> Shashank * >> CSE,BIT Mesra >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Algorithm Geeks" group. >> To view this discussion on the web visit >> https://groups.google.com/d/msg/algogeeks/-/XyZJK5SjreIJ. >> >> 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 > > -- **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.