163 views

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

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

1
187 views
1 vote