Fun with Algorithms Table of Content Math Sort Bubble Sort Bucket Sort Counting Sort Heap Sort Insertion Sort Merge Sort Quick Sort Radix Sort Selection Sort Shell Sort Array String Palindrome Manacher Graph DP Digit DP Unclassified Boyer–Moore Majority Vote Algorithm Reservoir Sampling Math Least Common Multiple (LCM) Quick Power Sieve of Eratosthenes