The Algorithms logo
The Algorithms
AboutDonate
Backtracking

All Combination of Size K

Sudoku Solver

Big Integer

Hello Bigmath

Fast Factorial

Blockchain

Chinese Remainder Theorem

Ciphers

Another Rot 13

Transposition

Morse Code

Rail Fence

Vigenere

Blake 2b

Kerninghan

Theoretical Rot 13

Hashing Traits

Polybius

Diffie Hellman

XOR Cipher

Compression

Run Length Encoding

Run Length Encoding

Conversions

Decimal to Binary

Binary to Decimal

Data Structures
Divide and Conquer
Dynamic Programming

Floyd Warshall

Matrix Chain Multiply

Longest Increasing Subsequence

Longest Common Substring

Longest Continuous Increasing Subsequence

Subset Generation

Maximum Subarray

Longest Common Subsequence

Financial
General

Steinhaus Johnson Trotter

Huffman Encoding

Geometry

Jarvis Scan

Closest Points

Graphs

Prufer Code

Bipartite Matching

Depth First Search

Bellman Ford

Centroid Decomposition

Breadth First Search

Graph Enumeration

Two Satisfiability

Dijkstra

Depth First Search Tic Tac Toe

Disjoint Set Union

Dinic Maxflow

Minimum Spanning Tree

Strongly Connected Components

Greedy Methods

Fractional Knapsack

Hashing
Math

Fibonacci Numbers

+10

More

Two Sum

Armstrong Number

Factors

Square Root

Amicable Numbers

Greatest Common Divisor

Binary Exponentiation

Sieve of Eratosthenes

Prime

Perfect Number

Prime

Gcd of N Numbers

Karatsuba Multiplication

Extended Euclidean Algorithm

Prime Factors

Simpson Integration

Pollard Rho

Baby Step Giant Step

Quadratic Residue

Signum

Aliquot Sum

Miller Rabin

Random

Sum of Digits

Newton Raphson

Matrix Ops

Zellers Congruence Algorithm

Bell Numbers

Faster Perfect Numbers

Nthprime

Trial Division

Mersenne Primes

Linear Sieve

Collatz Sequence

Fast Power

Matrix

Pascal Triangle

Navigation
Number Theory
Numerical Analysis

Gaussian Elimination

Numerical Methods

Fast Fourier Transform

Others

Doomsday

Graham Scan

Range Queries

Heavy Light Decomposition

Searches

Interpolation

Union Find

Ternary Search

Interpolation Search

Linear Search

+13

More

Fibonacci Search

Quick Select

Exponential Search

Jump Search

Kth Smallest Heap

Ternary Search Min Max Recursive

Ternary Search Min Max

Kth Smallest

Binary Search Recursive

Ternary Search Recursive

Binary Search

+14

More
Sorts

Topological Sort

Odd Even Sort

Dutch National Flag Sort

Cycle Sort

Sleep Sort

Selection Sort

+13

More

Pancake Sort

Exchange Sort

Comb Sort

Shell Sort

Bogo Sort

Pigeonhole Sort

Stooge Sort

Insertion Sort

+17

More

Cocktail Shaker Sort

Bitonic Sort

Bead Sort

Bucket Sort

Counting Sort

Heap Sort

+12

More

Gnome Sort

Wiggle Sort

Tim Sort

Bubble Sort

+18

More

Quick Sort

+18

More

Patience Sort

Radix Sort

Fisher Yates Shuffle

Strings

Knuth Morris Pratt

Z Algorithm

Palindrome

Burrows Wheeler Transform

Suffix Tree

Jaro Winkler Distance

Levenshtein Distance

Duval Algorithm

Boyer Moore Search

Hamming Distance

Autocomplete Using Trie

Manacher

Aho Corasick

Suffix Array

Rabin Karp