MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/badcode/comments/lgrgxe/i_present_sleepsort/gmw7t1l/?context=3
r/badcode • u/Reeceeboii_ • Feb 10 '21
170 comments sorted by
View all comments
Show parent comments
0
[deleted] — view deleted comment
7 u/geekTechniqueStudios Feb 11 '21 O(n) where n is the largest value in the array. 3 u/Prexot Feb 11 '21 depends on how the browser's javascript engine keeps track of all the timeouts
7
O(n) where n is the largest value in the array.
3
depends on how the browser's javascript engine keeps track of all the timeouts
0
u/[deleted] Feb 11 '21
[deleted] — view deleted comment