Re: [algogeeks] Factorial Algorithms

2011-08-21 Thread victory tunn
On 13 Aug 2011 00:31, "Nitin Nizhawan" wrote: > http://www.luschny.de/math/factorial/FastFactorialFunctions.htm > Does anyone know of resource for good/detailed explanation of factorial > algorithms on this site? > > -- > You received this message because you are subscribed to the Google Groups "A

Re: [algogeeks] Fwd: max product

2011-08-07 Thread victory tunn
@Punnet : why to find smallest three. SMALLEST here means negative numbers// lets say smallest1 is smaller than smallest2 and larget1>larget2>larget3 I think we just need to find smallest 2( because -ve * -ve = pos); then result = max( smallest1*smallet2*largest1 , larget1,larget2,larget3) Please