Skip to content

StPfeffer/sorting-algorithms-python

Repository files navigation

Sorting Algorithms using Python

Explanation

Sorting algorithm is an algorithm that puts elements of a list into an order. The most frequently used orders are numerical order and lexicographical order, and either ascending or descending. Efficient sorting is important for optimizing the efficiency of other algorithms (such as search and merge algorithms) that require input data to be in sorted lists. Sorting is also often useful for canonicalizing data and for producing human-readable output.

Formally, the output of any sorting algorithm must satisfy two conditions:

  1. The output is in monotonic order (each element is no smaller/larger than the previous element, according to the required order).
  2. The output is a permutation (a reordering, yet retaining all of the original elements) of the input.

Sorting Algorithms

Known Issues

Translations

About

Implementation of some sorting algorithms using Python

Resources

Stars

Watchers

Forks

Languages