The Algorithms logo
The Algorithms
AboutDonate
Backtracking

All Combination of Size K

Sudoku Solver

Big Integer

Hello Bigmath

Blockchain

Chinese Remainder Theorem

Ciphers

XOR Cipher

Morse Code

Theoretical Rot 13

Polybius

Transposition

Another Rot 13

Hashing Traits

Vigenere

Kerninghan

Compression

Run Length Encoding

Data Structures
Divide and Conquer
Dynamic Programming

Longest Common Subsequence

Longest Common Substring

Longest Continuous Increasing Subsequence

Longest Increasing Subsequence

Fibonacci Numbers

+10

More

Floyd Warshall

Financial
General

Huffman Encoding

Geometry

Closest Points

Graphs

Dinic Maxflow

Bellman Ford

Depth First Search

Prufer Code

Graph Enumeration

Minimum Spanning Tree

Bipartite Matching

Strongly Connected Components

Centroid Decomposition

Depth First Search Tic Tac Toe

Disjoint Set Union

Dijkstra

Two Satisfiability

Breadth First Search

Greedy Methods

Fractional Knapsack

Hashing
Math

Miller Rabin

Nthprime

Pollard Rho

Amicable Numbers

Fast Power

Linear Sieve

Zellers Congruence Algorithm

Gcd of N Numbers

Collatz Sequence

Armstrong Number

Karatsuba Multiplication

Quadratic Residue

Random

Prime

Trial Division

Mersenne Primes

Greatest Common Divisor

Aliquot Sum

Sieve of Eratosthenes

Prime

Prime Factors

Baby Step Giant Step

Matrix Ops

Simpson Integration

Square Root

Newton Raphson

Factors

Faster Perfect Numbers

Perfect Numbers

Extended Euclidean Algorithm

Signum

Two Sum

Matrix

Pascal Triangle

Numerical Analysis

Gaussian Elimination

Numerical Methods

Fast Fourier Transform

Others

Doomsday

Maximum Subarray

Range Queries

Heavy Light Decomposition

Searches

Ternary Search Recursive

Quick Select

Binary Search

+13

More

Interpolation Search

Linear Search

+12

More

Ternary Search

Kth Smallest

Ternary Search Min Max Recursive

Kth Smallest Heap

Exponential Search

Jump Search

Fibonacci Search

Ternary Search Min Max

Binary Search Recursive

Union Find

Sorts

Fisher Yates Shuffle

Dutch National Flag Sort

Quick Sort

+17

More

Comb Sort

Selection Sort

+12

More

Pancake Sort

Stooge Sort

Bubble Sort

+17

More

Radix Sort

Bogo Sort

Tim Sort

Cocktail Shaker Sort

Insertion Sort

+16

More

Odd Even Sort

Bucket Sort

Heap Sort

+12

More

Counting Sort

Sleep Sort

Shell Sort

Cycle Sort

Gnome Sort

Pigeonhole Sort

Exchange Sort

Topological Sort

Strings

Suffix Tree

Z Algorithm

Burrows Wheeler Transform

Aho Corasick

Suffix Array

Autocomplete Using Trie

Knuth Morris Pratt

Levenshtein Distance

Hamming Distance

Palindrome

Boyer Moore Search

Duval Algorithm

Rabin Karp

Manacher

Jaro Winkler Distance