Sorting
Bubble Sort
The most intuitive sorting algorithm that repeatedly steps through the list, compares adjacent elements and swaps them if they are in the wrong order.
Selection Sort
A simple sorting algorithm that repeatedly finds the minimum element from the unsorted part and puts it at the beginning.
Merge Sort
A divide-and-conquer algorithm that consistently divides the array into halves, sorts them, and merges them back together.
Quick Sort
An efficient, comparison-based sorting algorithm that uses a divide-and-conquer strategy to pick a 'pivot' and partition the array around it.
Heap Sort
An efficient sorting algorithm that builds a binary heap from the data and repeatedly extracts the maximum element to build the sorted array.
Basic & Binary Trees
String & Search Trees
Text & Compression
Burrows-Wheeler Transform
A reversible string permutation used in data compression (bzip2, DNA sequencing) that rearranges characters to improve compressibility.
Ukkonen's Suffix Tree
A compressed trie of all suffixes of a string, built in linear time using Ukkonen's algorithm — a cornerstone of modern string processing.