Given the code for i in range(n):for j in range(n):print(i, j),what is the time complexity? - Study24x7
Social learning Network
2 followers study24x7 28 Jun 2024 12:12 PM study24x7 study24x7

Given the code for i in range(n):

See more

A

O(1)

B

O(n)

C

O(n log n)

D

O(n^2)

study24x7
Write a comment
Related Questions
500+   more Questions to answer
Most Related Articles