The problem could be generalized looking for the maximum product of more than three numbers. I think there is a domination relation so that if there is more than two number with the same sign that n and bigger absolute value you dominate n, in such a way the solution seems easy to get.
--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---