GoConqr has a new look! Let us know what you think.

Mind map

Stability in sorting algorithms

Esteban yusunguaira Spanish

Stability in sorting algorithms

Map content

Stability in sorting algorithms

  1. i < j and A[i] ∼ A[j] implies π(i) < π( j)

  2. Equivalent elements retain their relative positions after sorting.

  3. best sorting algorithms are not stable.

    • Quicksort
    • heapsort
    • Mergesort*
  4. Any sorting algorithm may be made stable, at a price:

    • Price: O(n)+
  5. C++ and java libraries

Images and files in the map

  • Stability in sorting algorithms

Information

Description
Mind Map on Stability in sorting algorithms, created by Esteban yusunguaira on 10/02/2020.
Views
0
Rating

Feedback

What is it about?

What do you think of the new look?

How do you like it?