3 ms·
it would be more impressive if you could implement Sleepsort in your sleep For those aren't familiar with sleepsort, it looks something like this, where you us
by Rebelgecko 7y ago
it would be more impressive if you could implement Sleepsort in your sleep
For those aren't familiar with sleepsort, it looks something like this, where you use whatever concurrency is available in your programming language of choice to execute the for-loop in parallel
for n in array:
sleep(n)
print(n)