in Algorithms
401 views
1 vote
1 vote

Please explain 2nd line complexity.

 

in Algorithms
401 views

4 Comments

Yes  It seems though.
0
0
@raahul

Actually I was asking that why we equate those values, logic behind that.
0
0
We equate them because last term oj j will be n^n. Last term oj j is n^(2^k).to get the last k number we need to equate. By k i mean number of times the loop will run.
1
1

Please log in or register to answer this question.