Open In App

Sorting Algorithms

A Sorting Algorithm is used to rearrange a given array or list of elements according to a comparison operator on the elements. The comparison operator is used to decide the new order of elements in the respective data structure.

For Example: The below list of characters is sorted in increasing order of their ASCII values. That is, the character with a lesser ASCII value will be placed first than the character with a higher ASCII value.



What is Sorting?

Sorting refers to rearrangement of a given array or list of elements according to a comparison operator on the elements. The comparison operator is used to decide the new order of elements in the respective data structure. Sorting means reordering of all the elements either in ascending or in descending order.

Sorting Terminology:

Characteristics of Sorting Algorithms:

Applications of Sorting Algorithms:

Basics of Sorting Algorithms:

Sorting Algorithms:

Library Implementations:

Easy Problems on Sorting:

Medium Problems on Sorting:

Hard Problems on Sorting:

Quick Links :

Recommended:


Article Tags :