Sorting Algorithms
Bubble Sort

A simple sorting algorithm that repeatedly steps through the list, compares adjacent elements and swaps them.

Selection Sort

A simple comparison-based sorting algorithm that repeatedly selects the minimum element from the unsorted part and swaps it with the first unsorted element.

Insertion Sort

A simple sorting algorithm that builds the final sorted array one item at a time.

Merge Sort

A divide-and-conquer algorithm that splits the array into smaller sub-arrays and merges them back together in sorted order.

Quick Sort

A divide-and-conquer algorithm that selects a 'pivot' element and partitions the array around it.

Heap Sort

A comparison-based sorting algorithm that builds a heap structure and then sorts the array.

Radix Sort

A non-comparative sorting algorithm that sorts numbers by processing individual digits.

Bucket Sort

A sorting algorithm that divides the data into several buckets and then sorts each bucket.