initial commit
This commit is contained in:
commit
39f56a3b10
83 files changed
+3583
No files matched your search
@@ -0,0 +1,10 @@
|
||||
import random
|
||||
import time
|
||||
|
||||
NUM_ELEMENTS = 1_000_000
|
||||
l = [random.randint(0, 2*NUM_ELEMENTS) for _ in range(NUM_ELEMENTS)]
|
||||
|
||||
start = time.time()
|
||||
sorted(l)
|
||||
end = time.time()
|
||||
print(end - start)
|
||||
Reference in new issue
Block a user