Перейти к содержимому

What Happens if you Run Many Sorters at Once?

Codified Cube

0:00 / 0:00

What Happens if you Run Many Sorters at Once?

3 559 просмотров · 2 дн. назад
Codified Cube
346 подписчиков
3 559 просмотров · 2 дн. назад
I let many sorting algorithms all sort on the same data at the same time to see if they can still sort without messing each other up. One algorithm stood above the rest as working well do matter which algorithm it was grouped with. In other tests while making this video, bubble sort did fail from time to time, but when I collected the footage, it didn't fail a single time. There are also combinations and sizes that fail most of the time. Merge sort and quick sort often fail here because they are almost too efficient and get messed up easily. Bubble sort is slow, but has a lot of redundancy, so it's resilient against dynamic data.