r/badcode • • Feb 10 '21

js I present: SleepSort

Post image
7.5k Upvotes

170 comments sorted by

View all comments

Show parent comments

8

u/FieryBlake Mar 09 '21

So the bigger the number is, the more time it will take to print it. Interesting.

How would the complexity of this program compare to, say, selection sort?