@Swapnil I got a counter example for my approach.By O(8) i mean O(c) c: a constant leading to O(1).
On Tue, Dec 21, 2010 at 2:10 AM, Saurabh Koar <[email protected]>wrote: > @yq: Can u plzz inform what was ur approach/logic while deriving the > condition that "index will be increased of that array which contains > minimum of three elements to get the desired ans"? > It will be very helpful.Thanks in advance. > > -- > 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. > > -- Thanks & Regards Nikhil Agarwal Senior Undergraduate Computer Science & Engineering, National Institute Of Technology, Durgapur,India http://tech-nikk.blogspot.com http://beta.freshersworld.com/communities/nitd -- 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.
