3 ms·
According to the Twitter thread linked, at the beginning there were only 30 items, so using bubblesort didn't matter. The number of items has since grown to a t
by phoenixreader 3y ago
According to the Twitter thread linked, at the beginning there were only 30 items, so using bubblesort didn't matter. The number of items has since grown to a thousand.
- professoretc 3y agoFor 30 items bubblesort might very well have been faster than mergesort.