What is the big o of this code.

K=1;

do

j=1;

do

..

..

..

j=2*j;

while(j<=n);

k=k+1;

while (K<=n);

Results 1 to 3 of 3

- Oct 15th 2009, 10:18 PM #1

- Joined
- Oct 2009
- Posts
- 3

- Oct 15th 2009, 10:25 PM #2

- Joined
- Nov 2005
- From
- someplace
- Posts
- 14,972
- Thanks
- 5

- Oct 15th 2009, 10:28 PM #3

- Joined
- Oct 2009
- Posts
- 3