Agemixer (09:28:01) Sorts of sorts...
zoi (09:27:43) it's called sleepsort
zoi (09:27:39) one of the more inventive ones I've seen is for async javascript
zoi (09:27:00) yeah, miracle sort is an optimised version of bogosort
zoi (09:26:34) when it works it runs in O(1) time
mirrorbird (09:26:30) lol i see
mirrorbird (09:26:23) ah? i remember the 'bogo-sort' (randomly shuffle, check if it's sorted yet, repeat)
zoi (09:26:17) implementation goes like while(!sorted) { }
zoi (09:25:56) it's called miracle sort
zoi (09:25:51) there's a sorting algorithm based on that
Time Left: 5:31
Related tags: