The Algorithms logo
The Algorithms
AboutDonate
Backtracking

Sudoku Solver

All Combination of Size K

Big Integer

Hello Bigmath

Fast Factorial

Blockchain

Chinese Remainder Theorem

Ciphers

Hashing Traits

Blake 2b

Theoretical Rot 13

Polybius

Morse Code

Transposition

Diffie Hellman

Another Rot 13

Rail Fence

Vigenere

XOR Cipher

Kerninghan

Compression

Run Length Encoding

Run Length Encoding

Conversions

Binary to Decimal

Decimal to Binary

Data Structures
Divide and Conquer
Dynamic Programming

Subset Generation

Fibonacci Numbers

+10

More

Matrix Chain Multiply

Longest Continuous Increasing Subsequence

Longest Increasing Subsequence

Longest Common Subsequence

Maximum Subarray

Longest Common Substring

Floyd Warshall

Financial
General

Huffman Encoding

Steinhaus Johnson Trotter

Geometry

Closest Points

Graphs

Bipartite Matching

Two Satisfiability

Centroid Decomposition

Graph Enumeration

Breadth First Search

Disjoint Set Union

Prufer Code

Depth First Search Tic Tac Toe

Minimum Spanning Tree

Strongly Connected Components

Depth First Search

Dijkstra

Dinic Maxflow

Bellman Ford

Greedy Methods

Fractional Knapsack

Hashing
Machine Learning
Math

Two Sum

Bell Numbers

Karatsuba Multiplication

Amicable Numbers

Prime Factors

Factors

Matrix Ops

Signum

Greatest Common Divisor

Sieve of Eratosthenes

Square Root

Faster Perfect Numbers

Zellers Congruence Algorithm

Extended Euclidean Algorithm

Mersenne Primes

Binary Exponentiation

Linear Sieve

Collatz Sequence

Quadratic Residue

Fast Power

Simpson Integration

Baby Step Giant Step

Sum of Digits

Miller Rabin

Armstrong Number

Trial Division

Nthprime

Perfect Number

Random

Aliquot Sum

Pollard Rho

Gcd of N Numbers

Matrix

Pascal Triangle

Navigation
Numerical Analysis

Gaussian Elimination

Numerical Methods

Fast Fourier Transform

Others

Doomsday

Range Queries

Heavy Light Decomposition

Searches

Ternary Search Min Max Recursive

Binary Search Recursive

Ternary Search Recursive

Kth Smallest Heap

Linear Search

+13

More

Exponential Search

Jump Search

Ternary Search

Interpolation Search

Binary Search

+14

More

Quick Select

Kth Smallest

Fibonacci Search

Ternary Search Min Max

Union Find

Interpolation

Sorts

Pigeonhole Sort

Stooge Sort

Pancake Sort

Counting Sort

Selection Sort

+13

More

Wiggle Sort

Dutch National Flag Sort

Heap Sort

+12

More

Bucket Sort

Bogo Sort

Bitonic Sort

Shell Sort

Merge Sort

+18

More

Exchange Sort

Bubble Sort

+18

More

Comb Sort

Cycle Sort

Patience Sort

Bead Sort

Tim Sort

Sleep Sort

Cocktail Shaker Sort

Odd Even Sort

Quick Sort

+18

More

Gnome Sort

Radix Sort

Insertion Sort

+17

More

Fisher Yates Shuffle

Topological Sort

Strings

Levenshtein Distance

Burrows Wheeler Transform

Z Algorithm

Palindrome

Suffix Tree

Rabin Karp

Manacher

Boyer Moore Search

Autocomplete Using Trie

Suffix Array

Duval Algorithm

Jaro Winkler Distance

Hamming Distance

Aho Corasick

Knuth Morris Pratt