---------- Forwarded message ----------
From: "Nikhil Veliath" <[email protected]>
Date: 7 Aug 2011 18:31
Subject: max product
To: <[email protected]>

given an array that has n nos . . . . find the maximum product of 3 nos and
display the 3 nos . . .

25 9 6 8 -20 -5 -10

so
max product 5000

the nos are -20 -10 25

give an O(n) solution and if possible try avoid using sort

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

Reply via email to