The Algorithms logo
The Algorithms
AboutDonate
Backtracking

All Combination of Size K

Sudoku Solver

Big Integer

Hello Bigmath

Blockchain

Chinese Remainder Theorem

Ciphers

Polybius

Kerninghan

Hashing Traits

XOR Cipher

Morse Code

Another Rot 13

Transposition

Theoretical Rot 13

Diffie Hellman

Vigenere

Compression

Run Length Encoding

Run Length Encoding

Data Structures
Divide and Conquer
Dynamic Programming

Longest Continuous Increasing Subsequence

Longest Common Substring

Fibonacci Numbers

+10

More

Longest Common Subsequence

Longest Increasing Subsequence

Floyd Warshall

Financial
General

Huffman Encoding

Geometry

Closest Points

Graphs

Dinic Maxflow

Centroid Decomposition

Disjoint Set Union

Two Satisfiability

Dijkstra

Depth First Search Tic Tac Toe

Graph Enumeration

Depth First Search

Minimum Spanning Tree

Bellman Ford

Breadth First Search

Prufer Code

Strongly Connected Components

Bipartite Matching

Greedy Methods

Fractional Knapsack

Hashing
Math

Two Sum

Aliquot Sum

Matrix Ops

Karatsuba Multiplication

Trial Division

Armstrong Number

Signum

Random

Fast Power

Nthprime

Quadratic Residue

Baby Step Giant Step

Amicable Numbers

Prime Factors

Linear Sieve

Pollard Rho

Sieve of Eratosthenes

Extended Euclidean Algorithm

Faster Perfect Numbers

Square Root

Perfect Numbers

Gcd of N Numbers

Greatest Common Divisor

Mersenne Primes

Collatz Sequence

Miller Rabin

Zellers Congruence Algorithm

Factors

Simpson Integration

Matrix

Pascal Triangle

Numerical Analysis

Gaussian Elimination

Numerical Methods

Fast Fourier Transform

Others

Maximum Subarray

Doomsday

Range Queries

Heavy Light Decomposition

Searches

Union Find

Exponential Search

Interpolation Search

Ternary Search Min Max

Fibonacci Search

Ternary Search Recursive

Linear Search

+12

More

Ternary Search Min Max Recursive

Ternary Search

Kth Smallest Heap

Jump Search

Kth Smallest

Binary Search Recursive

Quick Select

Binary Search

+13

More
Sorts

Topological Sort

Comb Sort

Pigeonhole Sort

Odd Even Sort

Bucket Sort

Radix Sort

Pancake Sort

Bubble Sort

+17

More

Patience Sort

Dutch National Flag Sort

Heap Sort

+12

More

Quick Sort

+17

More

Insertion Sort

+16

More

Counting Sort

Bogo Sort

Merge Sort

+17

More

Wiggle Sort

Tim Sort

Exchange Sort

Cycle Sort

Sleep Sort

Stooge Sort

Gnome Sort

Shell Sort

Selection Sort

+13

More

Cocktail Shaker Sort

Fisher Yates Shuffle

Strings

Duval Algorithm

Knuth Morris Pratt

Aho Corasick

Boyer Moore Search

Autocomplete Using Trie

Jaro Winkler Distance

Rabin Karp

Palindrome

Manacher

Z Algorithm

Hamming Distance

Suffix Array

Levenshtein Distance

Burrows Wheeler Transform

Suffix Tree