The Algorithms logo
The Algorithms
AboutDonate
undefined

Knapsack

Knapsack

Audio Filters

Show Response

Butterworth Filter

Backtracking

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

Blockchain

Modular Division

Chinese Remainder Theorem

Diophantine Equation

Boolean Algebra
Cellular Automata

Nagel Schrekenberg

Conways Game of Life

One Dimensional

Ciphers

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

Polybius

Simple Substitution Cipher

Compression

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

Conversions

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

Electronics

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
Financial

Equated Monthly Installments

Present Value

Price Plus Tax

Fractals

Julia Sets

Koch Snowflake

Sierpinski Triangle

Mandelbrot

Fuzzy Logic

Fuzzy Operations

Genetic Algorithm
Geodesy

Lamberts Ellipsoidal Distance

Haversine Distance

Graphics

Bezier Curve

Vector 3 for 2d Rendering

Graphs

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

Dijkstra

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

Boruvka

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

Hashing
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

Math

Factors

Bailey Borwein Plouffe

Sumset

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

+10

More

Area Under Curve

Combinations

Largest of Very Large Numbers

Weird Number

Sigmoid

Perfect Square

Arc Length

Binary Exponentiation 2

Is Square Free

Liouville Lambda

Maclaurin Series

Collatz Sequence

Signum

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

Softmax

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

Bisection

Lucas Series

Entropy

Greatest Common Divisor

Greedy Coin Change

Armstrong Number

Addition without Arithmetic

Simpson Rule

Catalan Number

Binary Exp Mod

Gaussian

Harmonic Series

Arithmetic Mean

Geometric

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

Dodecahedron

Primelib

Find Max Recursion

Binary Exponentiation

Factorial

+11

More

Gaussian Error Linear Unit

Twin Prime

Sock Merchant

Two Pointer

Monte Carlo Dice

Sylvester Sequence

Volume

Kadanes

Krishnamurthy Number

Pollard Rho

Average Mean

Radix 2 Fft

Numerical Integration

Single Indeterminate Operations

Least Common Multiple

Karatsuba

Power Using Recursion

Binary Exponentiation 3

Print Multiplication Table

Hexagonal Number

Persistence

Prime Sieve Eratosthenes

Pythagoras

Segmented Sieve

Odd Sieve

Remove Digit

Perfect Cube

Euler Method

Newton Raphson

Bisection

Fibonacci Numbers

+10

More

Factorial

+11

More
Matrix

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

Others

Lfu Cache

Doomsday

H Index

Fischer Yates Shuffle

Nested Brackets

Gauss Easter

Graham Scan

Linear Congruential Generator

Alternative List Arrange

Password

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

Magicdiamondpattern

Physics

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

Grahams Law

Newtons Second Law of Motion

Quantum

Quantum Entanglement

Deutsch Jozsa

Quantum Random

Not Gate

Half Adder

Quantum Teleportation

Q Full Adder

Ripple Adder Classic

Superdense Coding

Q Fourier Transform

Single Qubit Measure

Not Gate

Scheduling

Non Preemptive Shortest Job First

Highest Response Ratio Next

Shortest Job First

First Come First Served

Multi Level Feedback Queue

Round Robin

Job Sequencing with Deadline

Scripts

Validate Filenames

Build Directory Md

Validate Solutions

Searches

Simulated Annealing

Binary Search

+13

More

Simple Binary Search

Double Linear Search Recursion

Binary Tree Traversal

Interpolation Search

Double Linear Search

Hill Climbing

Fibonacci Search

Ternary Search

Linear Search

+12

More

Sentinel Linear Search

Jump Search

Tabu Search

Quick Select

Sorts

Insertion Sort

+17

More

Recursive Bubble Sort

Shell Sort

Merge Insertion Sort

Recursive Insertion Sort

Pancake Sort

Shrink Shell Sort

Double Sort

Natural Sort

Counting Sort

Bubble Sort

+18

More

Stooge Sort

Comb Sort

Quick Sort

+18

More

Gnome Sort

Exchange Sort

Recursive Mergesort Array

Radix Sort

Pigeonhole Sort

Bitonic Sort

Recursive Quick Sort

Iterative Merge Sort

Slowsort

Unknown Sort

Bogo Sort

Odd Even Transposition Single Threaded

Patience Sort

Intro Sort

Binary Insertion Sort

Odd Even Transposition Parallel

Bead Sort

Tree Sort

Tim Sort

Heap Sort

+12

More

Selection Sort

+13

More

Random Normal Distribution Quicksort

Odd Even Sort

Dutch National Flag Sort

Circle Sort

Random Pivot Quick Sort

Msd Radix Sort

Topological Sort

Wiggle Sort

Pigeon Sort

Cocktail Shaker Sort

Cycle Sort

External Sort

Strand Sort

Quick Sort 3 Partition

Bucket Sort

Strings

Top K Frequent Words

Is Srilankan Phone Number

Alternative String Arrange

Manacher

Aho Corasick

Check Anagram

Is Spain National Id

Naive String Search

Word Patterns

Reverse Words

Min Cost String Conversion

Detecting English Programmatically

Word Occurrence

Is Pangram

Reverse Long Words

Is Isogram

Snake Case to Camel Pascal Case

Jaro Winkler

Text Justification

Autocomplete Using Trie

Is Contains Unique Chars

Frequency Finder

Knuth Morris Pratt

Barcode Validator

Capitalize

Levenshtein Distance

Z Function

Reverse Letters

Hamming Distance

Can String Be Rearranged as Palindrome

Remove Duplicate

Wildcard Pattern Matching

Palindrome

Indian Phone Validator

Rabin Karp

Credit Card Validator

String Switch Case

Prefix Function

Boyer Moore Search

Web Programming

Get Imdb Top 250 Movies Csv

Get Top Hn Posts

Download Images From Google Query

Instagram Crawler

Fetch Github Info

Open Google Results

Search Books by Isbn

Get User Tweets

Co 2 Emission

Fetch Well Rx Price

World Covid 19 Stats

Instagram Pic

Slack Message

Recaptcha Verification

Crawl Google Scholar Citation

Random Anime Character

Instagram Video

Fetch Anime and Play

Covid Stats via Xpath

Daily Horoscope

Current Stock Price

Crawl Google Results

Emails From Url

Currency Converter

Convert Number to Words

Fetch Bbc News

Get Amazon Product Data

Current Weather