The Algorithms logo
The Algorithms
AboutDonate
Backtracking
Big Integer

Hello Bigmath

Blockchain

Chinese Remainder Theorem

Ciphers

Hashing Traits

Transposition

Another Rot 13

Morse Code

Polybius

Vigenere

XOR Cipher

Theoretical Rot 13

Compression

Run Length Encoding

Data Structures
Divide and Conquer
Dynamic Programming

Longest Increasing Subsequence

Longest Common Subsequence

Longest Continuous Increasing Subsequence

Floyd Warshall

Financial
General

Huffman Encoding

Geometry

Closest Points

Graphs

Graph Enumeration

Depth First Search Tic Tac Toe

Depth First Search

Two Satisfiability

Dinic Maxflow

Centroid Decomposition

Disjoint Set Union

Dijkstra

Minimum Spanning Tree

Prufer Code

Breadth First Search

Bellman Ford

Strongly Connected Components

Bipartite Matching

Hashing
Math

Two Sum

Fibonacci Numbers

+11

More

Perfect Numbers

Miller Rabin

Zellers Congruence Algorithm

Newton Raphson

Prime Numbers

Simpson Integration

Mersenne Primes

Linear Sieve

Armstrong Number

Sieve of Eratosthenes

Pollard Rho

Trial Division

Prime Factors

Lcm of N Numbers

Fast Power

Baby Step Giant Step

Square Root

Quadratic Residue

Pascal Triangle

Prime Check

Random

Faster Perfect Numbers

Gcd of N Numbers

Amicable Numbers

Nthprime

Karatsuba Multiplication

Greatest Common Divisor

Matrix Ops

Extended Euclidean Algorithm

Numerical Analysis

Gaussian Elimination

Numerical Methods

Fast Fourier Transform

Others

Maximum Subarray

Range Queries

Heavy Light Decomposition

Searches

Ternary Search Recursive

Quick Select

Jump Search

Kth Smallest Heap

Ternary Search

Exponential Search

Linear Search

+11

More

Fibonacci Search

Binary Search Recursive

Interpolation Search

Ternary Search Min Max

Binary Search

+13

More

Kth Smallest

Ternary Search Min Max Recursive

Union Find

Sorts

Quick Sort

+18

More

Comb Sort

Bubble Sort

+17

More

Cycle Sort

Gnome Sort

Selection Sort

+13

More

Radix Sort

Shell Sort

Stooge Sort

Counting Sort

Bucket Sort

Heap Sort

+13

More

Pigeonhole Sort

Sleep Sort

Insertion Sort

+17

More

Exchange Sort

Tim Sort

Bogo Sort

Pancake Sort

Dutch National Flag Sort

Odd Even Sort

Cocktail Shaker Sort

Topological Sort

Strings

Aho Corasick

Suffix Tree

Rabin Karp

Palindrome

Hamming Distance

Burrows Wheeler Transform

Boyer Moore Search

Manacher

Suffix Array

Z Algorithm

Knuth Morris Pratt

Jaro Winkler Distance