Quantcast
Channel: Programming Forums
Viewing all articles
Browse latest Browse all 51036

Big-O time complexity.

$
0
0
Hi I got this code on my midterm,

for i in range(2):
    for j in range(2):
        print(i,j)


I need help finding the big-o complexity for this code, and for any code in general. Can someone help explain time complexity or refer me to a good site.

Thanks

Viewing all articles
Browse latest Browse all 51036

Trending Articles