The Algorithms logo
The Algorithms
AboutDonate
undefined

Knapsack

Backtracking
Big Integer

Hello Bigmath

Blockchain

Chinese Remainder Theorem

Ciphers

Transposition

Another Rot 13

Hashing Traits

Morse Code

Vigenere

Polybius

Theoretical Rot 13

Data Structures
Divide and Conquer
Dynamic Programming

Floyd Warshall

Longest Continuous Increasing Subsequence

Longest Increasing Subsequence

Longest Common Subsequence

Maximum Subarray

Financial
General

Huffman Encoding

Geometry

Closest Points

Graphs

Centroid Decomposition

Dijkstra

Bipartite Matching

Breadth First Search

Dinic Maxflow

Strongly Connected Components

Graph Enumeration

Two Satisfiability

Disjoint Set Union

Prufer Code

Depth First Search

Minimum Spanning Tree

Depth First Search Tic Tac Toe

Bellman Ford

Hashing
Math

Two Sum

Quadratic Residue

Miller Rabin

Perfect Numbers

Greatest Common Divisor

Simpson Integration

Random

Karatsuba Multiplication

Faster Perfect Numbers

Prime Factors

Square Root

Linear Sieve

Prime Check

Amicable Numbers

Extended Euclidean Algorithm

Sieve of Eratosthenes

Trial Division

Mersenne Primes

Gcd of N Numbers

Prime Numbers

Matrix Ops

Pollard Rho

Zellers Congruence Algorithm

Pascal Triangle

Lcm of N Numbers

Nthprime

Fast Power

Baby Step Giant Step

Armstrong Number

Fibonacci Numbers

Numerical Analysis

Gaussian Elimination

Numerical Methods

Fast Fourier Transform

Range Queries

Heavy Light Decomposition

Searches

Union Find

Ternary Search Recursive

Quick Select

Linear Search

+11

More

Fibonacci Search

Ternary Search Min Max

Binary Search Recursive

Ternary Search Min Max Recursive

Jump Search

Kth Smallest Heap

Ternary Search

Binary Search

+12

More

Exponential Search

Interpolation Search

Kth Smallest

Sorts

Heap Sort

+13

More

Odd Even Sort

Pigeonhole Sort

Sleep Sort

Quick Sort

+17

More

Bubble Sort

+17

More

Pancake Sort

Exchange Sort

Cycle Sort

Selection Sort

+13

More

Radix Sort

Comb Sort

Bucket Sort

Counting Sort

Shell Sort

Gnome Sort

Bogo Sort

Cocktail Shaker Sort

Tim Sort

Stooge Sort

Insertion Sort

+16

More

Topological Sort

Strings

Burrows Wheeler Transform

Run Length Encoding

Z Algorithm

Suffix Array

Manacher

Aho Corasick

Hamming Distance

Suffix Tree

Knuth Morris Pratt

Rabin Karp