3 ms·
Hey ! Bubble sort can be a descent algorithm when you know when and how to use it ! After all, it is the fastest sorting algorithm when your collection is alre
by mackwic 12y ago
Hey ! Bubble sort can be a descent algorithm when you know when and how to use it !
After all, it is the fastest sorting algorithm when your collection is already sorted ! Moreover, it has very nice properties which make it suitable for a lot of concurrent operations.
- TheLoneWolfling 12y agoInsertion sort is faster for already-sorted data. (Note: I am not advocating to use insertion sort!)