We've all seen the maximum sum contiguous subarray problem, but heres
a new take on it:

Say we are given an array A[1 to n] of n inte-gers (positive and
negative), we need to find the maximum product found in any contiguous
sub-array.

I've had a crack at this and im struggling apparently it can be done
in O(n) time.

Anyone any idea for the pesudo code here?


--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/algogeeks
-~----------~----~----~----~------~----~------~--~---

Reply via email to