this could help although not true for many cases as said above

http://ideone.com/w5gjK


On Sun, Aug 5, 2012 at 8:40 AM, Ashish Goel <ashg...@gmail.com> wrote:

> can you give an example of what do you mean by "Local" minima?
> From Dave's example, it looks like the minima of the whole array..
>
> Best Regards
> Ashish Goel
> "Think positive and find fuel in failure"
> +919985813081
> +919966006652
>
>
> On Fri, Aug 3, 2012 at 10:32 PM, shady <sinv...@gmail.com> wrote:
>
>> Hi,
>> Can anyone tell how to find local minima in an unsorted array ?
>> Recommended solution : O(log(n))
>>
>> Shady.
>>
>> --
>> 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.
>

-- 
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.

Reply via email to