2 ms·
The O(1) sleep sort algorithm: https://www.cs.princeton.edu/courses/archive/fall13/cos226/lectures/52Tries.pdf https://www.cs.princeton.edu/courses/archive/fall
by cpeterso 4y ago
The O(1) sleep sort algorithm: https://www.cs.princeton.edu/courses/archive/fall13/cos226/lectures/52Tries.pdf https://www.cs.princeton.edu/courses/archive/fall13/cos226/l...
- geriatric-janny 4y agoRIP /prog/. One of the most brilliantly idiotic communities to grace the web.
- chrismorgan 4y agoSleep sort is certainly not O(1), even if there's some disagreement of the correct way of describing it. See https://stackoverflow.com/questions/6474318/what-is-the-time-complexity-of-the-sleep-sort https://stackoverflow.com/questions/6474318/what-is-the-time... for some discussion. If you want to call it O(1), by the same approach you could call any finite algorithm O(1).