[algogeeks] Re: Hacking Tools and Security Systems

2007-04-26 Thread Arunachalam
Banned. On 4/25/07, Dhruva Sagar <[EMAIL PROTECTED]> wrote: > > Yes I agree, please for the love of GOD ban this person. > > On 4/25/07, Shashi Kant <[EMAIL PROTECTED] > wrote: > > > > Oh Come on moderators Ban this guy. I have had enough of his crap > > ! > > > > > > > > > > On 4/25/07, c

[algogeeks] Efficient resource utilization

2007-04-26 Thread Abid
hi: Suppose we have three 8-bit, 16 bit and 32 bit integer functional units. I want to direct intergers to functional units that are most suitable for them, i.e. 8 bit integer can be given to 16 bit or 32 bit but it is preferable to give it to the 8-bit unit i. How can I determine which integer i

[algogeeks] Re: Maximum Product Contiguous Subarray

2007-04-26 Thread Lego Haryanto
I'm not even sure about my "log" comments, ... please disregard, sorry. On 4/26/07, Lego Haryanto <[EMAIL PROTECTED]> wrote: > > For negative numbers, ... why can't we log the absolute value and then > negate it of course? > > We should also assume if the data contains zeroes, though. This probab

[algogeeks] Re: Maximum Product Contiguous Subarray

2007-04-26 Thread Lego Haryanto
For negative numbers, ... why can't we log the absolute value and then negate it of course? We should also assume if the data contains zeroes, though. This probably has to be handled differently. On 4/26/07, Balachander <[EMAIL PROTECTED]> wrote: > > > Hi > > Think thats not, possible > > Is ur

[algogeeks] Knapsack Problem Solved Row-by-Row

2007-04-26 Thread Bootlegger
If I have the following dynamic programming psudo-code for the Knapsack problem: for w = 0 to W do V[0][w] = 0 for w = 0 to W do begin for k = 1 to n do begin if (w < w(k)) then V[k][w] = V[k - 1][w] else V[k][w] = max(V[k - 1][w],V[k -

[algogeeks] Re: Maximum Product Contiguous Subarray

2007-04-26 Thread Balachander
Hi Think thats not, possible Is ur soln : this way Arr : a[1 ...n] New Arr = newRR[ loga[i] .log[an] ] and Finding the max sum.. If so it ca be done as OLog is not defined for negative numbers .. Bala On Apr 26, 9:24 am, Arunachalam <[EMAIL PROTECTED]> wrote: > Multiplication can be convert