The Algorithms logoTheAlgorithms
AboutDonate
Backtracking

All Combinations

All Permutations

Hamiltonian Cycle

N Queens

N Queens Math

Rat in Maze

Coloring

Knight Tour

Sum of Subsets

All Subsequences

Bit Manipulation

Binary Shifts

Binary or Operator

Count Number of One Bits

Single Bit Manipulation Operations

Reverse Bits

Binary Twos Complement

Binary Xor Operator

Binary and Operator

Binary Count Trailing Zeros

Binary Count Setbits

Blockchain

Modular Division

Diophantine Equation

Chinese Remainder Theorem

Boolean Algebra

Quine Mc Cluskey

Cellular Automata

Game of Life

Conways Game of Life

One Dimensional

Ciphers

Beaufort Cipher

Cryptomath Module

Enigma Machine2

Mixed Keyword Cypher

Base32

Base16

Rsa Factorization

Affine Cipher

Shuffled Shift Cipher

Diffie Hellman

A1z26

Vigenere Cipher

Rsa Cipher

Base85

Elgamal Key Generator

Simple Substitution Cipher

Porta Cipher

Diffie

Rabin Miller

Mono Alphabetic Ciphers

Base64 Encoding

Brute Force Caesar Cipher

Rsa Key Generator

Trafid Cipher

Playfair Cipher

Transposition Cipher Encrypt Decrypt File

Hill Cipher

Onepad Cipher

Transposition Cipher

Caesar Cipher

Decrypt Caesar with Chi Squared

Simple Keyword Cypher

Deterministic Miller Rabin

Rail Fence Cipher

Rot13

Xor Cipher

Atbash

Morse Code Implementation

Compression

Burrows Wheeler

Lempel Ziv

Lempel Ziv Decompress

Peak Signal to Noise Ratio

Computer Vision

Harris Corner

Mean Threshold

Conversions

Roman Numerals

Decimal to Binary Recursion

Decimal to Any

Rgb Hsv Conversion

Molecular Chemistry

Binary to Decimal

+1

Temperature Conversions

Decimal to Binary

+1

Hexadecimal to Decimal

Hex to Bin

Decimal to Hexadecimal

Prefix Conversions

Binary to Octal

Decimal to Octal

Octal to Decimal

Weight Conversion

Data Structures

Binomial Heap

Randomized Heap

Heap Generic

Alternate Disjoint Set

Lazy Segment Tree

Binary Tree Mirror

Basic Binary Tree

Non Recursive Segment Tree

Number of Possible Binary Trees

Segment Tree Other

Binary Search Tree Recursive

Binary Search Tree

+2

Binary Tree Traversals

Merge Two Binary Trees

Lowest Common Ancestor

Priority Queue Using List

Queue on Pseudo Stack

Double Ended Queue

Queue on List

Circular Queue

Prefix Evaluation

Postfix Evaluation

Balanced Parentheses

Infix to Prefix Conversion

Stack Using Dll

Next Greater Element

Stock Span Problem

Dijkstras Two Stack Algorithm

Evaluate Postfix Notations

Infix to Postfix Conversion

Quadratic Probing

Hash Table with Linked List

Singly Linked List

Doubly Linked List

+3

Doubly Linked List Two

Middle Element of Linked List

Circular Linked List

Digital Image Processing
Divide and Conquer

Strassen Matrix Multiplication

Closest Pair of Points

Heaps Algorithm Iterative

Max Subarray Sum

Kth Order Statistic

Max Difference Pair

Heaps Algorithm

Dynamic Programming

Longest Increasing Subsequence O(nlogn)

Subset Generation

Longest Increasing Subsequence

Minimum Cost Path

Integer Partition

Max Sub Array

Matrix Chain Order

Sum of Subset

Fast Fibonacci

+7

Longest Sub Array

Catalan Numbers

Iterating Through Submasks

Edit Distance

+1

Floyd Warshall

Minimum Steps to One

Minimum Partition

Longest Common Subsequence

Max Non Adjacent Sum

Max Sum Contiguous Subsequence

Fractional Knapsack 2

Climbing Stairs

Fractional Knapsack

Minimum Coin Change

Optimal Binary Search Tree

Electronics

Electric Power

Ohms Law

File Transfer

Send File

Receive File

Fractals

Mandelbrot

Sierpinski Triangle

Koch Snowflake

Fuzzy Logic

Fuzzy Operations

Genetic Algorithm

Basic String

Geodesy

Haversine Distance

Lamberts Ellipsoidal Distance

Graphics

Vector3 for 2d Rendering

Bezier Curve

Graphs

Gale Shapley Bigraph

Greedy Best First

G Topological Sort

Graphs Floyd Warshall

Minimum Spanning Tree Prims2

Edmonds Karp Multiple Source and Sink

Articulation Points

Dijkstra

Eulerian Path and Circuit for Undirected Graph

Tarjans Scc

Page Rank

Connected Components

Minimum Spanning Tree Kruskal

Scc Kosaraju

Dijkstra 2

Dijkstra Algorithm

Depth First Search

Check Bipartite Graph Dfs

Minimum Spanning Tree Prims

Depth First Search 2

Check Bipartite Graph Bfs

Dinic

Multi Heuristic Astar

Minimum Spanning Tree Kruskal2

Kahns Algorithm Topo

Directed and Undirected (Weighted) Graph

Basic Graphs

Breadth First Search 2

Breadth First Search

Bidirectional a Star

Strongly Connected Components

Karger

Even Tree

Finding Bridges

Graph List

Minimum Spanning Tree Boruvka

Prim

Kahns Algorithm Long

Markov Chain

Bellman Ford

Bidirectional Breadth First Search

Frequent Pattern Graph Miner

Graph Matrix

Hashing

Enigma Machine

Adler32

Chaos Machine

Hamming Code

Knapsack

Greedy Knapsack

Knapsack

Knapsack

Linear Algebra

Power Iteration

Rayleigh Quotient

Transformations 2d

Polynom for Points

Conjugate Gradient

Machine Learning

Linear Regression

Polymonial Regression

Decision Tree

Similarity Search

Support Vector Machines

Data Transformations

Gradient Boosting Regressor

Random Forest Regressor

Lstm Prediction

Logistic Regression

Gaussian Naive Bayes

Knn Sklearn

Sequential Minimum Optimization

Scoring Functions

Gradient Descent

K Means Clust

Random Forest Classifier

Word Frequency Functions

Linear Discriminant Analysis

K Nearest Neighbours

Multilayer Perceptron Classifier

Math

Binary Exponentiation

Abs Max

Integration by Simpson Approx

Factors

Decimal Isolate

Perfect Square

Max Sum Sliding Window

Average Median

Bailey Borwein Plouffe

Jaccard Similarity

Euclidean Distance

Largest of Very Large Numbers

Allocation Number

Find Min

Perfect Cube

Factorial Iterative

Euclidean Gcd

Prime Check

+2

Area

Abs

+1

Hardy Ramanujanalgo

Two Pointer

Find Min Recursion

Ceil

Segmented Sieve

Fibonacci Sequence Recursion

Pi Monte Carlo Estimation

Collatz Sequence

Kth Lexicographic Permutation

Numerical Integration

Kadanes

Binary Exp Mod

Polynomial Evaluation

Matrix Exponentiation

Average Mean

Binomial Coefficient

Qr Decomposition

Abs Min

Basic Maths

Lucas Series

Relu

Find Max Recursion

Runge Kutta

Aliquot Sum

Simpson Rule

Sum of Geometric Progression

Largest Subarray Sum

Chudnovsky Algorithm

Extended Euclidean Algorithm

Power Using Recursion

Euler Method

Eulers Totient

Least Common Multiple

Fermat Little Theorem

Armstrong Numbers

Binomial Distribution

Binary Exponentiation 3

Softmax

Is Square Free

Sum of Digits

Area Under Curve

Primelib

Radix2 Fft

Median of Two Arrays

Prime Factors

Line Length

Average Mode

Sieve of Eratosthenes

Prime Sieve Eratosthenes

Volume

Trapezoidal Rule

Two Sum

Floor

Monte Carlo Dice

Add

Combinations

Gamma

Radians

Gaussian

Zellers Congruence

Pythagoras

Sum of Arithmetic Series

Karatsuba

Triplet Sum

Harmonic Series

Geometric Series

Arithmetic Mean

P Series

Geometric Mean

Factorial Recursive

Modular Exponential

Square Root

Miller Rabin

Sigmoid

Perfect Number

Factorial Python

Krishnamurthy Number

3n Plus 1

Quadratic Equations Complex Numbers

Prime Numbers

Greedy Coin Change

Monte Carlo

Binary Exponentiation 2

Entropy

Ugly Numbers

Mobius Function

Find Max

Number of Digits

Fibonacci Numbers

+8

Fibonacci Numbers

+8

Prime Numbers

Matrix

Searching in Sorted Matrix

Rotate Matrix

Sherman Morrison

Inverse of Matrix

Spiral Print

Matrix Operation

Matrix Class

Nth Fibonacci Using Matrix Exponentiation

Count Islands in Matrix

Networking Flow

Ford Fulkerson

Minimum Cut

Neural Network

Convolution Neural Network

2 Hidden Layers Neural Network

Perceptron

Back Propagation Neural Network

Numerical Analysis

In Static Equilibrium

Lu Decomposition

Newton Raphson

Newton Method

Secant Method

Gaussian Elimination

Newton Forward Interpolation

Intersection

Newton Raphson

Others

Graham Scan

Sdes

Doomsday

Gauss Easter

Tower of Hanoi

Lru Cache

Dijkstra Bankers Algorithm

Greedy

Davis–Putnam–Logemann–Loveland

Scoring Algorithm

Fischer Yates Shuffle

Activity Selection

Lfu Cache

Linear Congruential Generator

Magicdiamondpattern

Password Generator

Least Recently Used

Nested Brackets

Physics

N Body Simulation

Quantum

Deutsch Jozsa

Ripple Adder Classic

Half Adder

Not Gate

Single Qubit Measure

Quantum Entanglement

Scheduling

Round Robin

First Come First Served

Scripts

Validate Filenames

Build Directory Md

Validate Solutions

Searches

Sentinel Linear Search

Fibonacci Search

Simulated Annealing

Binary Search

+11

Double Linear Search Recursion

Ternary Search

+2

Tabu Search

Hill Climbing

Quick Select

Interpolation Search

+2

Linear Search

+10

Jump Search

+3

Simple Binary Search

Binary Tree Traversal

Double Linear Search

Sorts

Gnome Sort

+3

Random Pivot Quick Sort

Topological Sort

Merge Insertion Sort

Pigeon Sort

Iterative Merge Sort

Recursive Bubble Sort

Patience Sort

Pigeonhole Sort

Cocktail Shaker Sort

Msd Radix Sort

Heap Sort

+11

Recursive Quick Sort

Insertion Sort

+13

Bucket Sort

+1

Stooge Sort

Bubble Sort

+15

Selection Sort

+12

Odd Even Transposition Single Threaded

Wiggle Sort

Random Normal Distribution Quicksort

Recursive Insertion Sort

External Sort

Strand Sort

Natural Sort

Bitonic Sort

Recursive Mergesort Array

Cycle Sort

+1

Intro Sort

Shell Sort

+7

Counting Sort

+3

Unknown Sort

Odd Even Sort

Tim Sort

Radix Sort

+7

Bead Sort

Bogo Sort

+2

Double Sort

Merge Sort

+14

Tree Sort

Quick Sort 3 Partition

Quick Sort

+13

Odd Even Transposition Parallel

Slowsort

Pancake Sort

+2

Comb Sort

+6

Merge Sort

+14

Strings

Reverse Words

Reverse Letters

Frequency Finder

Lower

Palindrome

+1

Can String Be Rearranged as Palindrome

Swap Case

Rabin Karp

Min Cost String Conversion

Z Function

Check Anagrams

Remove Duplicate

Capitalize

Knuth Morris Pratt

Word Occurrence

Naive String Search

Anagrams

Is Palindrome

Boyer Moore Search

Prefix Function

Split

Manacher

Detecting English Programmatically

Check Pangram

Levenshtein Distance

Autocomplete Using Trie

Aho Corasick

Jaro Winkler

Upper

Word Patterns

Is Palindrome

Web Programming

Instagram Video

Get Imdbtop

Crawl Google Results

Currency Converter

Instagram Pic

Recaptcha Verification

Slack Message

World Covid19 Stats

Emails From Url

Covid Stats via Xpath

Current Stock Price

Current Weather

Daily Horoscope

Instagram Crawler

Fetch Bbc News

Crawl Google Scholar Citation

Get Imdb Top 250 Movies Csv

Fetch Jobs

Co2 Emission