The Algorithms logo
The Algorithms
AboutDonate
Backtracking

All Combination of Size K

Knight Tour

Parentheses Generator

Sudoku Solver

Big Integer

Fast Factorial

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

Railfence

Theoretical Rot 13

Transposition

Vigenere

XOR Cipher

Compression

Run Length Encoding

Run Length Encoding

Conversions

Binary to Decimal

Binary to Hexadecimal

Decimal to Binary

Decimal to Hexadecimal

Hexa Decimal To Binary

Hexadecimal to Decimal

Octal to Binary

Octal to Decimal

Data Structures
Divide and Conquer
Dynamic Programming

Fibonacci Numbers

+12

More

Longest Common Subsequence

Longest Common Substring

Longest Continuous Increasing Subsequence

Longest Increasing Subsequence

Matrix Chain Multiply

Maximum Subarray

Minimum Cost Path

Subset Generation

Trapped Rainwater

Kadane Algorithm

Floyd Warshall

Financial
General

Huffman Encoding

Steinhaus Johnson Trotter

Geometry

Closest Points

Jarvis Scan

Polygon Points

Ramer Douglas Peucker

Graphs

Bellman Ford

Bipartite Matching

Breadth First Search

Centroid Decomposition

Decremental Connectivity

Depth First Search

Depth First Search Tic Tac Toe

Detect Cycle

Dijkstra

Dinic Maxflow

Eulerian Path

Graph Enumeration

Kosaraju

Lee Breadth First Search

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

Combinations

Cross Entropy Loss

Decimal to Fraction

Elliptic Curve

Euclidean Distance

Extended Euclidean Algorithm

Factors

Fast Power

Faster Perfect Numbers

Frizzy Number

Gcd of N Numbers

Geometric Series

Greatest Common Divisor

Interquartile Range

Karatsuba Multiplication

Leaky Relu

Least Square Approx

Linear Sieve

Logarithm

Lucas Series

Matrix Ops

Mersenne Primes

Miller Rabin

Modular Exponential

Nthprime

Perfect Cube

Perfect Number

Perfect Square

Pollard Rho

Prime Factors

Quadratic Residue

Random

Sieve of Eratosthenes

Sigmoid

Signum

Simpsons Integration

Softmax

Sprague Grundy Theorem

Square Pyramidal Numbers

Sum of Digits

Sum of Geometric Progression

Sum of Harmonic Series

Sylvester Sequence

Trapezoidal Integration

Trial Division

Trig Functions

Vector Cross Product

Zellers Congruence Algorithm

Matrix

Pascal Triangle

Navigation
Networking Flow

Ford Fulkerson

Neural Network

Gaussian Error Linear Unit

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

Bingo 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

Isomorphism

Jaro Winkler Distance

Knuth Morris Pratt

Levenshtein Distance

Lipogram

Manacher

Palindrome

Rabin Karp

Shortest Palindrome

Suffix Array

Suffix Array Manber Myers

Suffix Tree

Z Algorithm

Structure