Posted by hussein on August 06, 2000 at 15:56:27:
In Reply to: Re: an alg analysis question posted by hussein on August 06, 2000 at 15:53:32:
make that "...different, by (n-1) + (2) from ..."
n-1 in the inner loop
2 in the outer befoer anything is done - one for subtraction and one for comparison