Radix Sort

Radix Sort is a non-comparative sorting algorithm that sorts elements by processing them digit by digit. It is based on the idea of sorting numbers … Read more

Heap Sort

Heap Sort is a comparison-based sorting algorithm that uses a binary heap data structure to sort elements. It involves two main steps: building a heap … Read more

Quick Sort

Quick Sort is a divide-and-conquer algorithm that works by selecting a pivot element from the list and partitioning the other elements into two sublists, according … Read more

Merge Sort

Merge Sort is a divide-and-conquer algorithm that divides the input list into smaller sublists, sorts them recursively, and then merges the sorted sublists to produce … Read more

Insertion Sort

Insertion Sort is a simple sorting algorithm that builds the final sorted list one item at a time. It iterates through the input list, removing … Read more

Selection Sort

Selection Sort is a simple sorting algorithm that divides the input list into two parts: The algorithm repeatedly selects the smallest (or largest) element from … Read more

Bubble Sort

Bubble Sort is a simple sorting algorithm that repeatedly steps through the list, compares adjacent elements, and swaps them if they are in the wrong … Read more