The Algorithms logo
The Algorithms
AboutDonate
Backtracking

All Combination of Size K

Sudoku Solver

Big Integer

Fast Factorial

Hello Bigmath

Bit Manipulation

Highest Set Bit

Sum of Two Integers

Ciphers

Another Rot 13

Baconian Cipher

Blake 2b

Diffie Hellman

Hashing Traits

Kerninghan

Morse Code

Polybius

Rail Fence

Theoretical Rot 13

Transposition

Vigenere

XOR Cipher

Compression

Run Length Encoding

Run Length Encoding

Conversions

Binary to Decimal

Binary to Hexadecimal

Decimal to Binary

Hexa Decimal To Binary

Octal to Binary

Data Structures
Divide and Conquer
Dynamic Programming

Fibonacci Numbers

+11

More

Longest Common Subsequence

Longest Common Substring

Longest Continuous Increasing Subsequence

Longest Increasing Subsequence

Matrix Chain Multiply

Maximum Subarray

Minimum Cost Path

Subset Generation

Kadane Algorithm

Floyd Warshall

Financial
General

Huffman Encoding

Steinhaus Johnson Trotter

Geometry

Closest Points

Jarvis Scan

Graphs

Bellman Ford

Bipartite Matching

Breadth First Search

Centroid Decomposition

Depth First Search

Depth First Search Tic Tac Toe

Dijkstra

Dinic Maxflow

Eulerian Path

Graph Enumeration

Kosaraju

Minimum Spanning Tree

Prufer Code

Strongly Connected Components

Tarjans Ssc

Two Satisfiability

Greedy Methods

Fractional Knapsack

Hashing
Linear Algebra

Gaussian Elimination

Machine Learning
Math

Two Sum

Aliquot Sum

Amicable Numbers

Area of Polygon

Area Under Curve

Armstrong Number

Average

Baby Step Giant Step

Binary Exponentiation

Binomial Coefficient

Chinese Remainder Theorem

Collatz Sequence

Cross Entropy Loss

Elliptic Curve

Extended Euclidean Algorithm

Factors

Fast Power

Faster Perfect Numbers

Frizzy Number

Gaussian Error Linear Unit

Gcd of N Numbers

Geometric Series

Greatest Common Divisor

Huber Loss

Karatsuba Multiplication

Leaky Relu

Linear Sieve

Matrix Ops

Mersenne Primes

Miller Rabin

Nthprime

Perfect Number

Perfect Square

Pollard Rho

Prime Factors

Quadratic Residue

Random

Sieve of Eratosthenes

Sigmoid

Signum

Simpson Integration

Softmax

Sprague Grundy Theorem

Square Pyramidal Numbers

Sum of Digits

Trial Division

Vector Cross Product

Zellers Congruence Algorithm

Matrix

Pascal Triangle

Navigation
Networking Flow

Ford Fulkerson

Neural Network
Number Theory

Compute Totient

Numerical Methods

Fast Fourier Transform

Others

Graham Scan

Doomsday

Range Queries

Heavy Light Decomposition

Searches

Union Find

Interpolation

Binary Search

+15

More

Binary Search Recursive

Exponential Search

Fibonacci Search

Interpolation Search

Jump Search

Kth Smallest

Kth Smallest Heap

Linear Search

+14

More

Moore Voting

Quick Select

Saddleback Search

Ternary Search

Ternary Search Min Max

Ternary Search Min Max Recursive

Ternary Search Recursive

Sorts

Fisher Yates Shuffle

Topological Sort

Bead Sort

Binary Insertion Sort

Bitonic Sort

Bogo Sort

Bubble Sort

+19

More

Bucket Sort

Cocktail Shaker Sort

Comb Sort

Counting Sort

Cycle Sort

Dutch National Flag Sort

Exchange Sort

Gnome Sort

Heap Sort

+15

More

Insertion Sort

+18

More

Intro Sort

Odd Even Sort

Pancake Sort

Patience Sort

Pigeonhole Sort

Quick Sort

+19

More

Quick Sort 3 Ways

Radix Sort

Selection Sort

+14

More

Shell Sort

Sleep Sort

Sort Utils

Stooge Sort

Tim Sort

Tree Sort

Wave Sort

Wiggle Sort

Stacks

Infix To Postfix

Strings

Issubsequence

Aho Corasick

Autocomplete Using Trie

Boyer Moore Search

Burrows Wheeler Transform

Duval Algorithm

Hamming Distance

Jaro Winkler Distance

Knuth Morris Pratt

Levenshtein Distance

Manacher

Palindrome

Rabin Karp

Suffix Array

Suffix Array Manber Myers

Suffix Tree

Z Algorithm