The Algorithms logo
The Algorithms
AboutDonate
undefined

Knapsack

Knapsack

Audio Filters

Show Response

Butterworth Filter

Backtracking

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

Blockchain

Modular Division

Diophantine Equation

Chinese Remainder Theorem

Boolean Algebra
Cellular Automata

One Dimensional

Conways Game of Life

Nagel Schrekenberg

Ciphers

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

Polybius

Rsa Factorization

Compression

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

Conversions

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

Electronics

Resistor Equivalence

Ind Reactance

Circular Convolution

Electric Power

Builtin Voltage

Electric Conductivity

Coulombs Law

Carrier Concentration

Resonant Frequency

Electrical Impedance

File Transfer
Financial

Price Plus Tax

Equated Monthly Installments

Fractals

Koch Snowflake

Sierpinski Triangle

Mandelbrot

Julia Sets

Fuzzy Logic

Fuzzy Operations

Genetic Algorithm
Geodesy

Haversine Distance

Lamberts Ellipsoidal Distance

Graphics

Bezier Curve

Vector 3 for 2d Rendering

Graphs

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

Dijkstra

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

Boruvka

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

Hashing
Knapsack

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

Math

Euler Modified

Persistence

Two Sum

Area Under Curve

Newton Raphson

Jaccard Similarity

Proth Number

Aliquot Sum

Euclidean Distance

Prime

Extended Euclidean Algorithm

Hardy Ramanujanalgo

Monte Carlo

Greatest Common Divisor

Mobius Function

Nevilles Method

Matrix Exponentiation

Sum of Arithmetic Series

Entropy

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

Kadanes

Runge Kutta

Prime Sieve Eratosthenes

Average Mode

Greedy Coin Change

Allocation Number

Prime Factors

Least Common Multiple

Sumset

Addition without Arithmetic

Largest Subarray Sum

Carmichael Number

Maclaurin Series

Median of Two Arrays

Bailey Borwein Plouffe

Euler Method

Sock Merchant

Sieve of Eratosthenes

Sigmoid

Max Sum Sliding Window

Juggler Sequence

Arc Length

Find Min Recursion

Monte Carlo Dice

Volume

Binary Exponentiation

Automorphic Number

Fermats Little Theorem

Gaussian

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

+10

More

Krishnamurthy Number

Factors

Chudnovsky Algorithm

Sum of Harmonic Series

Points Are Collinear 3d

Basic Maths

Bisection

Signum

Dodecahedron

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

Pythagoras

Number of Digits

Largest of Very Large Numbers

Karatsuba

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

Geometric

Softmax

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

Primelib

Quadratic Equations Complex Numbers

Binary Exp Mod

Find Max Recursion

Gamma Recursive

Line Length

Combinations

Numerical Integration

Qr Decomposition

Gaussian Error Linear Unit

Prime

Factorial

+11

More

Find Max

Prime

Newton Raphson

Bisection

Fibonacci Numbers

+10

More

Factorial

+11

More
Matrix

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

Others

Fischer Yates Shuffle

Least Recently Used

Gauss Easter

Activity Selection

Davisb Putnamb Logemannb Loveland

Linear Congruential Generator

Lru Cache

Scoring Algorithm

Doomsday

Maximum Subarray

Alternative List Arrange

Graham Scan

Nested Brackets

Lfu Cache

Password

Dijkstra Bankers Algorithm

Magicdiamondpattern

Tower of Hanoi

Physics

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

Quantum

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

Scheduling

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

Scripts

Build Directory Md

Validate Solutions

Validate Filenames

Searches

Interpolation Search

Tabu Search

Linear Search

+12

More

Double Linear Search Recursion