I couldn't solve this one ?

What is the Big O of this function ?

Void two(int n)

{

inti,j,k,n;

for(i=1;i<=n;i++)

for(j=(i+1);j<=n;j++)

for(k=1;k<=j;k++)

o(1) statment;

}

Results 1 to 2 of 2

- October 15th 2009, 11:16 PM #1

- Joined
- Oct 2009
- Posts
- 3

- October 15th 2009, 11:39 PM #2

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