LogiQuest
Back to Complexity Analysis
1

What is the time complexity of the following code?

for i in range(n):
    for j in range(n):
        total += 1
Easy

Discussion (0)

  • No discussion yet. Ask a doubt or share a shortcut.

Log in to join the discussion.