in Algorithms retagged by
163 views
1 vote
1 vote

 

in Algorithms retagged by
by
163 views

4 Comments

i got the answer to be n^2, but i am not sure.
0
0
fourth for loop will run constant time?? so TC is $(n^2)$??
0
0

yes.i think it will be 0(n^2)


 

0
0

Please log in or register to answer this question.