On Thu, May 15, 2008 at 9:31 PM, Francois Petillon <fantec(a)proxad.net> wrote:
susmit shannigrahi wrote:
>
> Do we really need an array? Lets see..
> 2. If r<85 route to X,
> else if 85<r<95 route to Y
> else route to Z.
This is de facto an array...
Well, may be, but without any operation on stack, thereby reducing
time complexity
and also reducing the overhead of creating, maintaining or updating an array.
Is not it? :)
--
Regards,
Susmit.
=============================================
ssh
0x86DD170A
http://www.fedoraproject.org/wiki/SusmitShannigrahi
=============================================