The Algorithms logo
The Algorithms
Audio Filters

Show Response

Butterworth Filter


N Queens Math

All Permutations

All Subsequences

Hamiltonian Cycle

Knight Tour

Rat in Maze

Sum of Subsets

All Combinations

Bit Manipulation

Count 1s Brian Kernighan Method

Single Bit Manipulation Operations

Binary Twos Complement

Binary Count Setbits

Binary or Operator

Binary and Operator

Binary Count Trailing Zeros

Count Number of One Bits

Gray Code Sequence

Binary Xor Operator


Modular Division

Diophantine Equation

Chinese Remainder Theorem

Boolean Algebra

Quine Mc Cluskey

Cellular Automata

Conways Game of Life

Nagel Schrekenberg

One Dimensional


Xor Cipher

Caesar Cipher

Simple Substitution Cipher

Rsa Cipher

Porta Cipher

Deterministic Miller Rabin

Affine Cipher


Cryptomath Module

Brute Force Caesar Cipher

Enigma Machine 2

Hill Cipher

Baconian Cipher

Playfair Cipher

Vigenere Cipher

Rsa Factorization

Beaufort Cipher

Transposition Cipher Encrypt Decrypt File

Mixed Keyword Cypher

Rsa Key Generator

Shuffled Shift Cipher

Rail Fence Cipher

Diffie Hellman

Decrypt Caesar with Chi Squared

Onepad Cipher

Transposition Cipher

Rabin Miller

Trafid Cipher

Simple Keyword Cypher

Morse Code

Elgamal Key Generator

Mono Alphabetic Ciphers


Lempel Ziv Decompress

Lempel Ziv

Burrows Wheeler

Peak Signal to Noise Ratio

Computer Vision

Flip Augmentation

Harris Corner

Cnn Classification

Pooling Functions

Mean Threshold

Mosaic Augmentation


Excel Title to Column

Binary to Decimal

Decimal to Any

Octal to Decimal

Molecular Chemistry

Decimal to Binary

Rgb Hsv Conversion

Decimal to Hexadecimal

Prefix Conversions String

Binary to Hexadecimal

Length Conversion

Decimal to Octal

Prefix Conversions

Weight Conversion

Pressure Conversions

Roman Numerals

Temperature Conversions

Binary to Octal

Hex to Bin

Decimal to Binary Recursion

Volume Conversions

Hexadecimal to Decimal

Data Structures

Randomized Heap

Binary Search Tree Recursive

Lowest Common Ancestor

Merge Two Binary Trees

Binary Tree Traversals

Number of Possible Binary Trees

Binary Search Tree

Non Recursive Segment Tree

Evaluate Postfix Notations

Postfix Evaluation

Prefix Evaluation

Dijkstras Two Stack Algorithm

Infix to Prefix Conversion

Infix to Postfix Conversion

Stock Span Problem

Next Greater Element

Stack with Doubly Linked List

Stack with Singly Linked List

Balanced Parentheses

Hash Table with Linked List

Quadratic Probing

Priority Queue Using List

Circular Queue Linked List

Double Ended Queue

Queue on Pseudo Stack

Middle Element of Linked List

Doubly Linked List Two

Doubly Linked List

Circular Linked List

Singly Linked List

Alternate Disjoint Set

Digital Image Processing
Divide and Conquer

Kth Order Statistic

Max Subarray Sum

Heaps Algorithm Iterative

Max Difference Pair

Strassen Matrix Multiplication

Closest Pair of Points

Heaps Algorithm

Dynamic Programming

Longest Increasing Subsequence

Matrix Chain Order

Minimum Steps to One

Iterating Through Submasks

Minimum Coin Change

Fractional Knapsack

Longest Common Subsequence

Longest Sub Array

Max Sum Contiguous Subsequence

Minimum Cost Path

Max Non Adjacent Sum

Fibonacci Numbers

Integer Partition

Optimal Binary Search Tree

Minimum Partition

Longest Increasing Subsequence O(nlogn)

Fractional Knapsack 2

Subset Generation

Fibonacci Numbers


Carrier Concentration

Electric Power

Coulombs Law

File Transfer

Equated Monthly Installments


Koch Snowflake


Sierpinski Triangle

Julia Sets

Fuzzy Logic

Fuzzy Operations

Genetic Algorithm

Lamberts Ellipsoidal Distance

Haversine Distance


Vector 3 for 2d Rendering

Bezier Curve


Connected Components

Minimum Spanning Tree Prims 2

Kahns Algorithm Long

Graphs Floyd Warshall

Gale Shapley Bigraph

Breadth First Search

Bellman Ford

Dijkstra Algorithm


Multi Heuristic Astar

Breadth First Search 2

Minimum Spanning Tree Kruskal 2

Kahns Algorithm Topo

Greedy Min Vertex Cover

Graph List

Strongly Connected Components

Markov Chain

Minimum Path Sum

Minimum Spanning Tree Boruvka

G Topological Sort

Graph Matrix

Eulerian Path and Circuit for Undirected Graph

Tarjans Scc

Bidirectional a Star

Random Graph Generator

Scc Kosaraju

Even Tree

Check Bipartite Graph Bfs

Minimum Spanning Tree Prims

Bfs Shortest Path

Edmonds Karp Multiple Source and Sink

Directed and Undirected (Weighted) Graph

Greedy Best First

Bidirectional Breadth First Search

Bfs Zero One Shortest Path

Depth First Search

Check Cycle

Matching Min Vertex Cover

Basic Graphs

Articulation Points

Finding Bridges

Dijkstra 2

Check Bipartite Graph Dfs

Page Rank


Breadth First Search Shortest Path

Minimum Spanning Tree Kruskal

Frequent Pattern Graph Miner

Depth First Search 2

Greedy Methods

Optimal Merge Pattern


Enigma Machine

Hamming Code

Adler 32

Chaos Machine


Greedy Knapsack

Linear Algebra

Conjugate Gradient

Transformations 2d

Polynom for Points

Rayleigh Quotient

Schur Complement

Power Iteration

Machine Learning

K Nearest Neighbours

Sequential Minimum Optimization

Polymonial Regression

Linear Discriminant Analysis

Lstm Prediction

Gaussian Naive Bayes

Scoring Functions

Random Forest Classifier

Data Transformations

Linear Regression

Similarity Search

Multilayer Perceptron Classifier

Logistic Regression

Local Weighted Learning

Random Forest Regressor

Gradient Boosting Regressor

Gradient Descent

Word Frequency Functions


Hexagonal Numbers


Harmonic Series

Arithmetic Mean

Geometric Series

Sieve of Eratosthenes

Abs Max

Perfect Cube

Max Sum Sliding Window

Find Min Recursion


3n Plus 1

Ugly Numbers

Square Root

Average Mode

Kth Lexicographic Permutation


Euler Method

Perfect Number

Euler Modified

Triplet Sum

Monte Carlo Dice

Degrees to Radians

Average Absolute Deviation

Median of Two Arrays

Runge Kutta


Sock Merchant

Power Using Recursion

Fermats Little Theorem

Is Ip v 4 Address Valid

Average Median


Modular Exponential

Sum of Geometric Progression

Is Square Free

Gamma Recursive

Polynomial Evaluation

Monte Carlo

Prime Check

Two Sum

Sum of Digits

Line Length

Hardy Ramanujanalgo

Greedy Coin Change

Radix 2 Fft

Largest Subarray Sum

Abs Min

Lucas Series

Average Mean

Euclidean Distance

Numerical Integration

Proth Number

Sum of Arithmetic Series

Prime Numbers

Prime Factors

Chudnovsky Algorithm

Armstrong Numbers

Area Under Curve

Check Polygon

Find Max Recursion

Find Min



Mobius Function

Greatest Common Divisor

Zellers Congruence

Basic Maths

Factorial Recursive

Simpson Rule

Pi Monte Carlo Estimation

Double Factorial Recursive

Allocation Number

Binary Exponentiation

Quadratic Equations Complex Numbers

Prime Sieve Eratosthenes

Nevilles Method

Krishnamurthy Number

Matrix Exponentiation

Largest of Very Large Numbers

Sylvester Sequence


Qr Decomposition

Collatz Sequence



Miller Rabin


Trapezoidal Rule

Pollard Rho

Segmented Sieve

Decimal Isolate

Factorial Iterative

Binomial Coefficient

Bailey Borwein Plouffe

Eulers Totient

Binary Exponentiation 2

Points Are Collinear 3d

Find Max


Binary Exponentiation 3

Perfect Square

Binomial Distribution

Binary Exp Mod

Integration by Simpson Approx

Euclidean Gcd

Two Pointer

Aliquot Sum

Jaccard Similarity

Extended Euclidean Algorithm

Least Common Multiple

Double Factorial Iterative

Number of Digits


Prime Numbers


Sherman Morrison

Searching in Sorted Matrix

Nth Fibonacci Using Matrix Exponentiation

Count Islands in Matrix

Rotate Matrix

Matrix Class

Inverse of Matrix

Matrix Operation

Spiral Print

Networking Flow
Neural Network

Convolution Neural Network

2 Hidden Layers Neural Network

Back Propagation Neural Network

Numerical Analysis

In Static Equilibrium

Newton Forward Interpolation

Lu Decomposition

Jacobi Iteration Method

Gaussian Elimination


Password Generator

Scoring Algorithm

Activity Selection

Dijkstra Bankers Algorithm

Davisb Putnamb Logemannb Loveland

Gauss Easter

Lru Cache

Check Strong Password

Least Recently Used

Alternative List Arrange

Linear Congruential Generator


Graham Scan

Lfu Cache

Fischer Yates Shuffle


Nested Brackets

Tower of Hanoi


Horizontal Projectile Motion

N Body Simulation

Lorenz Transformation Four Vector

Newtons Second Law of Motion


Single Qubit Measure

Not Gate

Deutsch Jozsa

Quantum Entanglement

Half Adder

Ripple Adder Classic


Shortest Job First

Round Robin

Highest Response Ratio Next

Non Preemptive Shortest Job First

First Come First Served

Multi Level Feedback Queue


Validate Solutions

Build Directory Md

Validate Filenames


Ternary Search

Linear Search



Binary Search



Double Linear Search

Simulated Annealing

Sentinel Linear Search

Interpolation Search

Jump Search

Tabu Search

Binary Tree Traversal

Double Linear Search Recursion

Hill Climbing

Fibonacci Search

Simple Binary Search

Quick Select


Bead Sort

Iterative Merge Sort

Radix Sort


Pigeon Sort

Bitonic Sort

Msd Radix Sort

Counting Sort

Recursive Mergesort Array

Selection Sort



Comb Sort

Bogo Sort

Recursive Insertion Sort

Patience Sort

Dutch National Flag Sort

Tree Sort

Cycle Sort

Gnome Sort

Intro Sort

Merge Sort



Wiggle Sort

Random Normal Distribution Quicksort

Recursive Quick Sort

External Sort

Strand Sort

Quick Sort



Odd Even Transposition Single Threaded

Recursive Bubble Sort

Odd Even Sort

Topological Sort

Cocktail Shaker Sort

Bucket Sort

Heap Sort



Odd Even Transposition Parallel

Natural Sort

Shell Sort

Merge Insertion Sort

Insertion Sort



Pancake Sort

Tim Sort

Bubble Sort



Quick Sort 3 Partition

Exchange Sort

Unknown Sort

Random Pivot Quick Sort

Pigeonhole Sort

Double Sort

Stooge Sort

Merge Sort




Jaro Winkler

Frequency Finder

Autocomplete Using Trie

Reverse Letters

Reverse Long Words

Is Contains Unique Chars

Remove Duplicate

Prefix Function


Alternative String Arrange



Boyer Moore Search

Check Pangram

Word Patterns

Wildcard Pattern Matching

Naive String Search

Credit Card Validator

Hamming Distance

Levenshtein Distance

Is Palindrome

Z Function

Min Cost String Conversion

Aho Corasick

Detecting English Programmatically

Check Anagrams

Knuth Morris Pratt

Reverse Words