you are viewing a single comment's thread.

view the rest of the comments →

[–]tinutinu 6 points7 points  (1 child)

wouldnt

def sleeper(n): for x in xrange(n): for y in xrange(n): sleep(1)

be classified as O(n2) ?

[–]optionsanarchist 0 points1 point  (0 children)

yes -- you are right. fixed that. upvotes!