TIL: Sleep sort. For an array of length N we can launch N tasks that'll sleep for some time (based on the sorting key) and then emit their value. Wait for all tasks to finish and woohoo, we have a sorted array.
#humor #algorithm #sorting
#humor #algorithm #sorting
Well, DeepMind has tasked their AI with better sorting and it actually came up with a faster sorting algorithm. And a little bonus: thread about bubblesort being slow in FreeBSD kernel.
#ai #sorting #algorithm
#ai #sorting #algorithm