which sorting algorithm keeps up with constant random updates best?
@matthen281K followers
82,694 views
9 Comments
Comments from the original post on X (Twitter)

@skip_strike
Stop it you’re hurting them 😭
126 likes

@thesquashSH
How do I know if it's working without sound?
37 likes

@notcatra
Rather than using a sorting algorithm, which will have to move on average N/2 elements to accommodate a changed value, isn’t it better just to use either a heap or a self-balancing binary tree? These are data structures specifically designed for this task
11 likes

@JosvdWest
stumbled on this pretty cool gif of bubble sort
8 likes

@MTGRUG
Well, that's one way to make merge and quicksort misearable.
6 likes

@Kingarthur_I
this is inhumane
5 likes

@moultano
Bubble sort would come out much better if you did alternating sweeps in opposite directions.
4 likes

@d4
Knowing the obsession with randomness in the complexity community, I'm sure there are many un-readable papers on this.
3 likes

@MetaGlitch
Special requirements may warrant special algorithms. How about an alternating bubble sort that switches between walking upwards and downwards the array?
2 likes
