Archived
quadratic
An old note — I haven't updated it since I wrote it.
Write a python program with a time complexity of n^2 and class O(n^2)
1for i in range(n):
2 for j in range(n):
3 print(i)
Archived
Write a python program with a time complexity of n^2 and class O(n^2)
1for i in range(n):
2 for j in range(n):
3 print(i)