21
What is the time complexity of the following code?
for i in range(n):
for j in range(n):
total += 1DiscussEasy
Loading subject content…
Loading practice questions…
What is the time complexity of the following code?
for i in range(n):
for j in range(n):
total += 1