The Algorithms logo
The Algorithms



Audio Filters

Show Response

Butterworth Filter


All Subsequences

Word Search

Hamiltonian Cycle

Combination Sum

All Combinations

Sudoku Solver

N Queens Math

Knight Tour

Sum of Subsets

Rat in Maze

All Permutations

Bit Manipulation

Gray Code Sequence

Binary and Operator

Binary Count Setbits

Count Number of One Bits

Binary Xor Operator

Binary or Operator

Is Power of Two

Binary Twos Complement

Count 1s Brian Kernighan Method

Index of Rightmost Set Bit

Single Bit Manipulation Operations

Highest Set Bit

Binary Count Trailing Zeros

Numbers Different Signs


Modular Division

Chinese Remainder Theorem

Diophantine Equation

Boolean Algebra
Cellular Automata

Nagel Schrekenberg

Conways Game of Life

One Dimensional


Brute Force Caesar Cipher

Rail Fence Cipher

XOR Cipher

Porta Cipher

Vigenere Cipher

Onepad Cipher

Beaufort Cipher

Enigma Machine 2

Hill Cipher

Trafid Cipher

Rsa Factorization

Rsa Key Generator

Morse Code

Transposition Cipher

Simple Keyword Cypher

Deterministic Miller Rabin

Elgamal Key Generator

Transposition Cipher Encrypt Decrypt File

Affine Cipher

Decrypt Caesar with Chi Squared

Cryptomath Module

Diffie Hellman

Baconian Cipher

Caesar Cipher

Mixed Keyword Cypher

Mono Alphabetic Ciphers

Playfair Cipher

Rabin Miller

Rsa Cipher

Shuffled Shift Cipher


Simple Substitution Cipher


Run Length Encoding

Lempel Ziv Decompress

Lempel Ziv

Burrows Wheeler

Peak Signal to Noise Ratio

Computer Vision

Mean Threshold

Pooling Functions

Cnn Classification

Mosaic Augmentation

Harris Corner

Flip Augmentation


Decimal to Binary

Speed Conversions

Hex to Bin

Astronomical Length Scale Conversion

Roman Numerals

Rgb Hsv Conversion

Molecular Chemistry

Decimal to Binary Recursion

Octal to Decimal

Weight Conversion

Decimal to Any

Binary to Hexadecimal

Pressure Conversions

Excel Title to Column

Hexadecimal to Decimal

Decimal to Octal

Length Conversion

Prefix Conversions

Temperature Conversions

Prefix Conversions String

Decimal to Hexadecimal

Binary to Octal

Binary to Decimal

Volume Conversions

Data Structures

Quadratic Probing

Hash Table with Linked List

Alternate Disjoint Set

Binary Search Tree

Inorder Tree Traversal 2022

Lowest Common Ancestor

Binary Tree Path Sum

Non Recursive Segment Tree

Binary Tree Node Sum

Number of Possible Binary Trees

Binary Tree Traversals

Diff Views of Binary Tree

Merge Two Binary Trees

Binary Search Tree Recursive

Maximum Fenwick Tree

Double Ended Queue

Queue on Pseudo Stack

Priority Queue Using List

Circular Queue Linked List

Queue by Two Stacks

Doubly Linked List Two

Doubly Linked List

Singly Linked List

Circular Linked List

Middle Element of Linked List

Next Greater Element

Infix to Postfix Conversion

Postfix Evaluation

Dijkstras Two Stack Algorithm

Stock Span Problem

Stack with Doubly Linked List

Balanced Parentheses

Infix to Prefix Conversion

Stack with Singly Linked List

Prefix Evaluation

Evaluate Postfix Notations

Randomized Heap

Digital Image Processing
Divide and Conquer
Dynamic Programming

Longest Sub Array

Minimum Coin Change

Minimum Squares to Represent a Number

Subset Generation

Longest Common Substring

Optimal Binary Search Tree

K Means Clustering Tensorflow

Minimum Tickets Cost

Matrix Chain Order

Max Non Adjacent Sum

Longest Increasing Subsequence

Combination Sum Iv

Max Sum Contiguous Subsequence

Floyd Warshall

Minimum Cost Path

Minimum Steps to One

Minimum Partition

Integer Partition

Longest Increasing Subsequence O(nlogn)

Longest Common Subsequence

Minimum Size Subarray Sum

Min Distance up Bottom

Max Product Subarray

Iterating Through Submasks

Palindrome Partitioning


Circular Convolution

Real and Reactive Power

Builtin Voltage

Ind Reactance

Electrical Impedance

Resistor Equivalence

Electric Power

Carrier Concentration

Resonant Frequency

Apparent Power

Electric Conductivity

Coulombs Law

File Transfer

Equated Monthly Installments

Present Value

Price Plus Tax


Julia Sets

Koch Snowflake

Sierpinski Triangle


Fuzzy Logic

Fuzzy Operations

Genetic Algorithm

Lamberts Ellipsoidal Distance

Haversine Distance


Bezier Curve

Vector 3 for 2d Rendering


Depth First Search

Breadth First Search Shortest Path

Markov Chain

Basic Graphs

Breadth First Search

Dijkstra 2

Edmonds Karp Multiple Source and Sink

Frequent Pattern Graph Miner

Kahns Algorithm Topo

Minimum Spanning Tree Kruskal

Graph List


Directed and Undirected (Weighted) Graph

Greedy Min Vertex Cover

Graphs Floyd Warshall

Bidirectional Breadth First Search

Check Cycle

Scc Kosaraju

Bidirectional a Star

Bellman Ford

Minimum Path Sum

Even Tree

Finding Bridges

Dijkstra Alternate


Check Bipartite Graph Dfs

Minimum Spanning Tree Prims

Strongly Connected Components

G Topological Sort

Page Rank

Breadth First Search Zero One Shortest Path

Check Bipartite Graph Bfs

Minimum Spanning Tree Boruvka

Graph Matrix

Articulation Points

Kahns Algorithm Long

Bi Directional Dijkstra

Multi Heuristic Astar

Connected Components

Tarjans Scc

Matching Min Vertex Cover

Dijkstra Algorithm

Breadth First Search 2

Breadth First Search Shortest Path 2

Minimum Spanning Tree Prims 2

Greedy Best First

Eulerian Path and Circuit for Undirected Graph

Minimum Spanning Tree Kruskal 2

Depth First Search 2

Gale Shapley Bigraph

Random Graph Generator

Greedy Methods

Minimum Waiting Time

Optimal Merge Pattern

Fractional Knapsack 2

Fractional Knapsack


Greedy Knapsack

Recursive Approach Knapsack

Linear Algebra

Rayleigh Quotient

Power Iteration

Conjugate Gradient

Transformations 2d

Polynom for Points

Schur Complement

Machine Learning

Logistic Regression

Dimensionality Reduction

Xgboost Regressor

Polymonial Regression

Self Organizing Map

Linear Regression

Lstm Prediction

Linear Discriminant Analysis

Support Vector Machines

Scoring Functions

Gradient Descent

Xgboost Classifier

Word Frequency Functions

Multilayer Perceptron Classifier

K Nearest Neighbours

Sequential Minimum Optimization

Local Weighted Learning

Data Transformations

Similarity Search



Bailey Borwein Plouffe


Find Min

Trapezoidal Rule

Basic Maths

Sigmoid Linear Unit

Kth Lexicographic Permutation

Extended Euclidean Algorithm

Triplet Sum

3n Plus 1

Median of Two Arrays

Juggler Sequence

Two Sum

Square Root

Proth Number

Gamma Recursive

Chudnovsky Algorithm

Fibonacci Numbers



Area Under Curve


Largest of Very Large Numbers

Weird Number


Perfect Square

Arc Length

Binary Exponentiation 2

Is Square Free

Liouville Lambda

Maclaurin Series

Collatz Sequence


Find Min Recursion

Newton Raphson

Euler's Totient

Perfect Number

Quadratic Equations Complex Numbers

Fermats Little Theorem

Is Ip v 4 Address Valid

Qr Decomposition

Integration by Simpson Approx

Hamming Numbers

Sum of Arithmetic Series

Largest Subarray Sum

Average Mode

Euclidean Distance

Monte Carlo

Binomial Distribution

Runge Kutta

Decimal to Fraction

Decimal Isolate

Gcd of N Numbers

Sum of Digits

Degrees to Radians

Nevilles Method

Sieve of Eratosthenes

Allocation Number

Sum of Geometric Progression

Pi Generator

Double Factorial Recursive


Average Median

Points Are Collinear 3d

Aliquot Sum

Ugly Numbers

Manhattan Distance

Check Polygon

Polynomial Evaluation

Binomial Coefficient

Zellers Congruence

Automorphic Number

Matrix Exponentiation

Euclidean Gcd

Prime Factors

Mobius Function


Lucas Series


Greatest Common Divisor

Greedy Coin Change

Armstrong Number

Addition without Arithmetic

Simpson Rule

Catalan Number

Binary Exp Mod


Harmonic Series

Arithmetic Mean


Hexagonal Numbers

Geometric Series

Find Max

Line Length

Pi Monte Carlo Estimation

Average Absolute Deviation

Carmichael Number

Double Factorial Iterative

Euler Modified

Hardy Ramanujanalgo

Miller Rabin

Number of Digits

Max Sum Sliding Window

Pronic Number

Modular Exponential

Jaccard Similarity

Sum of Harmonic Series



Find Max Recursion

Binary Exponentiation




Gaussian Error Linear Unit

Twin Prime

Sock Merchant

Two Pointer

Monte Carlo Dice

Sylvester Sequence



Krishnamurthy Number

Pollard Rho

Average Mean

Radix 2 Fft

Numerical Integration

Single Indeterminate Operations

Least Common Multiple


Power Using Recursion

Binary Exponentiation 3

Print Multiplication Table

Hexagonal Number


Prime Sieve Eratosthenes


Segmented Sieve

Odd Sieve

Remove Digit

Perfect Cube

Euler Method

Newton Raphson


Fibonacci Numbers






Spiral Print

Searching in Sorted Matrix

Matrix Operation

Sherman Morrison

Cramers Rule 2x 2

Matrix Class

Binary Search Matrix

Nth Fibonacci Using Matrix Exponentiation

Largest Square Area in Matrix

Inverse of Matrix

Pascal Triangle

Count Paths

Rotate Matrix

Count Islands in Matrix

Max Area of Island

Networking Flow
Neural Network

2 Hidden Layers Neural Network

Simple Neural Network

Convolution Neural Network

Back Propagation Neural Network

Numerical Analysis

Jacobi Iteration Method

Lu Decomposition

Newton Forward Interpolation

In Static Equilibrium

Newton Raphson New

Gaussian Elimination


Lfu Cache


H Index

Fischer Yates Shuffle

Nested Brackets

Gauss Easter

Graham Scan

Linear Congruential Generator

Alternative List Arrange


Dijkstra Bankers Algorithm

Lru Cache

Guess the Number Search

Maximum Subsequence

Maximum Subarray

Least Recently Used

Tower of Hanoi

Activity Selection

Davisb Putnamb Logemannb Loveland

Scoring Algorithm



Horizontal Projectile Motion

Archimedes Principle

N Body Simulation

Ideal Gas Law

Hubble Parameter

Casimir Effect

Newtons Law of Gravitation

Potential Energy

Kinetic Energy

Rms Speed of Molecule

Lorentz Transformation Four Vector

Shear Stress

Centripetal Force

Malus Law