[algogeeks] Re: How to remove duplicate element from array in one pass.

2011-06-13 Thread ross
@sunny agarwal: Yes, it would be considered constant space.. even if it required 1MB of space . By big oh notation of space, we mean cases where input size, 'n' tends to infinity and the space requirement of the algorithm proposed does not approach infinity. here, even if n-infinity, input size

Re: [algogeeks] Re: How to remove duplicate element from array in one pass.

2011-06-13 Thread sunny agrawal
@ross thanks for clarification... On Mon, Jun 13, 2011 at 2:46 PM, ross jagadish1...@gmail.com wrote: @sunny agarwal: Yes, it would be considered constant space.. even if it required 1MB of space . By big oh notation of space, we mean cases where input size, 'n' tends to infinity and