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.
is the simplest sorting algorithm that works by repeatedly swapping the adjacent elements if they are in the wrong order.
sorts an array by repeatedly finding the minimum element (considering ascending order) from the unsorted part and putting it at the beginning.
is a simple sorting algorithm that works similar to the way you sort playing cards in your hands.
is a comparison-based sorting technique based on Binary Heap data structure.
algorithm is a sorting algorithm that is based on the Divide and Conquer paradigm.
is a sorting technique based on keys between a specific range.
is to do digit by digit sort starting from least significant digit to most significant digit.
is a Divide and Conquer algorithm. It picks an element as a pivot and partitions the given array around the picked pivot.