The Algorithms logo
The Algorithms



Audio Filters

Show Response

Butterworth Filter


Rat in Maze

Sudoku Solver

All Subsequences

All Permutations

All Combinations

Hamiltonian Cycle

N Queens Math

Combination Sum

Sum of Subsets

Word Search

Knight Tour

Bit Manipulation

Numbers Different Signs

Single Bit Manipulation Operations

Binary Twos Complement

Binary or Operator

Highest Set Bit

Binary Xor Operator

Gray Code Sequence

Binary Count Setbits

Count 1s Brian Kernighan Method

Count Number of One Bits

Binary Count Trailing Zeros

Index of Rightmost Set Bit

Is Power of Two

Binary and Operator


Modular Division

Diophantine Equation

Chinese Remainder Theorem

Boolean Algebra
Cellular Automata

One Dimensional

Conways Game of Life

Nagel Schrekenberg


Trafid Cipher

Diffie Hellman

Onepad Cipher

Rsa Key Generator

Brute Force Caesar Cipher

Transposition Cipher Encrypt Decrypt File

Hill Cipher

Elgamal Key Generator

XOR Cipher

Decrypt Caesar with Chi Squared

Baconian Cipher

Mono Alphabetic Ciphers

Enigma Machine 2

Rabin Miller

Simple Substitution Cipher

Porta Cipher

Caesar Cipher

Beaufort Cipher

Affine Cipher

Vigenere Cipher

Deterministic Miller Rabin

Mixed Keyword Cypher

Morse Code

Shuffled Shift Cipher

Playfair Cipher

Rail Fence Cipher

Cryptomath Module

Transposition Cipher

Rsa Cipher

Simple Keyword Cypher


Rsa Factorization


Burrows Wheeler

Run Length Encoding

Lempel Ziv Decompress

Lempel Ziv

Peak Signal to Noise Ratio

Computer Vision

Flip Augmentation

Cnn Classification

Mosaic Augmentation

Harris Corner

Mean Threshold

Pooling Functions


Decimal to Hexadecimal

Excel Title to Column

Binary to Decimal

Speed Conversions

Temperature Conversions

Molecular Chemistry

Binary to Hexadecimal

Length Conversion

Volume Conversions

Decimal to Octal

Rgb Hsv Conversion

Hexadecimal to Decimal

Pressure Conversions

Decimal to Any

Hex to Bin

Decimal to Binary Recursion

Binary to Octal

Prefix Conversions String

Astronomical Length Scale Conversion

Octal to Decimal

Roman Numerals

Decimal to Binary

Prefix Conversions

Weight Conversion

Data Structures

Randomized Heap

Double Ended Queue

Circular Queue Linked List

Queue on Pseudo Stack

Priority Queue Using List

Infix to Postfix Conversion

Stack with Doubly Linked List

Next Greater Element

Balanced Parentheses

Postfix Evaluation

Stack with Singly Linked List

Stock Span Problem

Prefix Evaluation

Infix to Prefix Conversion

Dijkstras Two Stack Algorithm

Evaluate Postfix Notations

Maximum Fenwick Tree

Binary Tree Path Sum

Binary Search Tree

Merge Two Binary Trees

Binary Search Tree Recursive

Binary Tree Traversals

Lowest Common Ancestor

Inorder Tree Traversal 2022

Non Recursive Segment Tree

Number of Possible Binary Trees

Diff Views of Binary Tree

Binary Tree Node Sum

Singly Linked List

Circular Linked List

Middle Element of Linked List

Doubly Linked List

Doubly Linked List Two

Alternate Disjoint Set

Quadratic Probing

Hash Table with Linked List

Digital Image Processing
Divide and Conquer

Strassen Matrix Multiplication

Max Difference Pair

Kth Order Statistic

Heaps Algorithm

Heaps Algorithm Iterative

Max Subarray Sum

Closest Pair of Points

Dynamic Programming

Combination Sum Iv

Max Non Adjacent Sum

Minimum Coin Change

Minimum Partition

Optimal Binary Search Tree

Max Sum Contiguous Subsequence

Integer Partition

Minimum Steps to One

Longest Sub Array

Minimum Squares to Represent a Number

Subset Generation

Matrix Chain Order

Longest Common Substring

Palindrome Partitioning

Iterating Through Submasks

Minimum Cost Path

Longest Increasing Subsequence O(nlogn)

Floyd Warshall

Minimum Tickets Cost

Longest Common Subsequence

Min Distance up Bottom

Longest Increasing Subsequence


Resistor Equivalence

Ind Reactance

Circular Convolution

Electric Power

Builtin Voltage

Electric Conductivity

Coulombs Law

Carrier Concentration

Resonant Frequency

Electrical Impedance

File Transfer

Price Plus Tax

Equated Monthly Installments


Koch Snowflake

Sierpinski Triangle


Julia Sets

Fuzzy Logic

Fuzzy Operations

Genetic Algorithm

Haversine Distance

Lamberts Ellipsoidal Distance


Bezier Curve

Vector 3 for 2d Rendering


Check Bipartite Graph Dfs

Graphs Floyd Warshall

Check Bipartite Graph Bfs

Matching Min Vertex Cover

Graph List

Breadth First Search

Edmonds Karp Multiple Source and Sink

Bidirectional a Star

Minimum Spanning Tree Boruvka

Multi Heuristic Astar

Minimum Spanning Tree Kruskal

Minimum Path Sum


Markov Chain

Breadth First Search Shortest Path

Finding Bridges

Scc Kosaraju

Gale Shapley Bigraph

Eulerian Path and Circuit for Undirected Graph

Greedy Min Vertex Cover

Dijkstra Algorithm

Kahns Algorithm Long

Bellman Ford

Kahns Algorithm Topo

Connected Components

Articulation Points

Random Graph Generator

Greedy Best First

G Topological Sort

Frequent Pattern Graph Miner

Bi Directional Dijkstra

Breadth First Search Shortest Path 2

Depth First Search

Check Cycle

Directed and Undirected (Weighted) Graph

Page Rank

Breadth First Search Zero One Shortest Path

Strongly Connected Components

Even Tree


Minimum Spanning Tree Prims

Graph Matrix

Minimum Spanning Tree Kruskal 2

Dijkstra Alternate

Bidirectional Breadth First Search

Breadth First Search 2

Dijkstra 2

Depth First Search 2

Minimum Spanning Tree Prims 2

Basic Graphs

Tarjans Scc

Greedy Methods

Fractional Knapsack

Optimal Merge Pattern

Fractional Knapsack 2


Recursive Approach Knapsack

Greedy Knapsack

Linear Algebra

Transformations 2d

Polynom for Points

Schur Complement

Conjugate Gradient

Rayleigh Quotient

Power Iteration

Machine Learning

Similarity Search

Support Vector Machines

Polymonial Regression

Scoring Functions

Data Transformations

Linear Discriminant Analysis

Self Organizing Map

Xgboost Classifier

Multilayer Perceptron Classifier

Local Weighted Learning

Lstm Prediction

Sequential Minimum Optimization

Xgboost Regressor

Gradient Descent

Word Frequency Functions

K Nearest Neighbours

Linear Regression

Logistic Regression


Euler Modified


Two Sum

Area Under Curve

Newton Raphson

Jaccard Similarity

Proth Number

Aliquot Sum

Euclidean Distance


Extended Euclidean Algorithm

Hardy Ramanujanalgo

Monte Carlo

Greatest Common Divisor

Mobius Function

Nevilles Method

Matrix Exponentiation

Sum of Arithmetic Series


Euler's Totient

Ugly Numbers

Miller Rabin

Hamming Numbers

Pollard Rho

Binary Exponentiation 2

Perfect Square

Perfect Cube

Weird Number

3n Plus 1

Binomial Coefficient

Degrees to Radians

Sigmoid Linear Unit

Single Indeterminate Operations


Runge Kutta

Prime Sieve Eratosthenes

Average Mode

Greedy Coin Change

Allocation Number

Prime Factors

Least Common Multiple


Addition without Arithmetic

Largest Subarray Sum

Carmichael Number

Maclaurin Series

Median of Two Arrays

Bailey Borwein Plouffe

Euler Method

Sock Merchant

Sieve of Eratosthenes


Max Sum Sliding Window

Juggler Sequence

Arc Length

Find Min Recursion

Monte Carlo Dice


Binary Exponentiation

Automorphic Number

Fermats Little Theorem


Euclidean Gcd

Pronic Number

Sum of Digits

Binomial Distribution

Trapezoidal Rule

Lucas Series

Average Absolute Deviation

Hexagonal Number

Twin Prime

Two Pointer

Decimal Isolate

Is Square Free

Collatz Sequence

Double Factorial Recursive

Sylvester Sequence

Fibonacci Numbers



Krishnamurthy Number


Chudnovsky Algorithm

Sum of Harmonic Series

Points Are Collinear 3d

Basic Maths




Check Polygon

Modular Exponential

Catalan Number

Power Using Recursion

Average Median

Segmented Sieve

Zellers Congruence

Radix 2 Fft

Liouville Lambda

Triplet Sum

Decimal to Fraction

Double Factorial Iterative


Number of Digits

Largest of Very Large Numbers


Find Min

Binary Exponentiation 3

Armstrong Number

Kth Lexicographic Permutation

Average Mean

Simpson Rule

Perfect Number

Print Multiplication Table

Arithmetic Mean

Hexagonal Numbers

Geometric Series

Harmonic Series



Gcd of N Numbers

Square Root

Manhattan Distance

Is Ip v 4 Address Valid

Polynomial Evaluation

Pi Monte Carlo Estimation

Integration by Simpson Approx

Sum of Geometric Progression


Quadratic Equations Complex Numbers

Binary Exp Mod

Find Max Recursion

Gamma Recursive

Line Length


Numerical Integration

Qr Decomposition

Gaussian Error Linear Unit





Find Max


Newton Raphson


Fibonacci Numbers






Rotate Matrix

Nth Fibonacci Using Matrix Exponentiation

Matrix Class

Largest Square Area in Matrix

Sherman Morrison

Binary Search Matrix

Count Islands in Matrix

Pascal Triangle

Cramers Rule 2x 2

Count Paths

Spiral Print

Max Area of Island

Inverse of Matrix

Searching in Sorted Matrix

Matrix Operation

Networking Flow
Neural Network

Back Propagation Neural Network

2 Hidden Layers Neural Network

Convolution Neural Network

Simple Neural Network

Numerical Analysis

Gaussian Elimination

Newton Forward Interpolation

Newton Raphson New

In Static Equilibrium

Lu Decomposition

Jacobi Iteration Method


Fischer Yates Shuffle

Least Recently Used

Gauss Easter

Activity Selection

Davisb Putnamb Logemannb Loveland

Linear Congruential Generator

Lru Cache

Scoring Algorithm


Maximum Subarray

Alternative List Arrange

Graham Scan

Nested Brackets

Lfu Cache


Dijkstra Bankers Algorithm


Tower of Hanoi


Kinetic Energy

Shear Stress

Newtons Law of Gravitation

Archimedes Principle

Lorentz Transformation Four Vector

Potential Energy

Horizontal Projectile Motion

Malus Law

Ideal Gas Law

Centripetal Force

Casimir Effect

Rms Speed of Molecule

Newtons Second Law of Motion

Hubble Parameter

N Body Simulation


Not Gate

Quantum Teleportation

Superdense Coding

Half Adder

Deutsch Jozsa

Q Fourier Transform

Q Full Adder

Ripple Adder Classic

Quantum Entanglement

Single Qubit Measure

Not Gate


Round Robin

Multi Level Feedback Queue

Job Sequencing with Deadline

Non Preemptive Shortest Job First

First Come First Served

Highest Response Ratio Next

Shortest Job First


Build Directory Md

Validate Solutions

Validate Filenames


Interpolation Search

Tabu Search

Linear Search



Double Linear Search Recursion