Question
Complexity of following segment of code is:
for(i=n;i>=1;i=i/2)
for(j=1;j<=i;j++)
{
-------------some code
}
Complexity of following segment of code is:
for(i=n;i>=1;i=i/2)
for(j=1;j<=i;j++)
{
-------------some code
}
Answer: Option B
Submit Your Solution Below and Earn Points !
Submit Your Solution Below and Earn Points !
More Questions on This Topic :
Question 10.
Structure of threaded binary tree :
....
Submit Solution