The Algorithms logo
The Algorithms
AboutDonate
undefined

Knapsack

Knapsack

Audio Filters

Butterworth Filter

Show Response

Backtracking

All Permutations

Hamiltonian Cycle

Knight Tour

Rat in Maze

All Subsequences

Sum of Subsets

All Combinations

N Queens Math

Bit Manipulation

Single Bit Manipulation Operations

Binary Count Setbits

Binary Xor Operator

Binary Count Trailing Zeros

Gray Code Sequence

Count Number of One Bits

Count 1s Brian Kernighan Method

Binary Twos Complement

Binary and Operator

Binary or Operator

Blockchain

Diophantine Equation

Modular Division

Chinese Remainder Theorem

Boolean Algebra

Quine Mc Cluskey

Cellular Automata

One Dimensional

Conways Game of Life

Nagel Schrekenberg

Ciphers

Polybius

Vigenere Cipher

Playfair Cipher

Elgamal Key Generator

Porta Cipher

Baconian Cipher

Mono Alphabetic Ciphers

Cryptomath Module

Beaufort Cipher

Simple Substitution Cipher

Morse Code

Trafid Cipher

Affine Cipher

Rsa Key Generator

Hill Cipher

Diffie Hellman

Mixed Keyword Cypher

Shuffled Shift Cipher

Decrypt Caesar with Chi Squared

Transposition Cipher

Transposition Cipher Encrypt Decrypt File

Brute Force Caesar Cipher

Rsa Cipher

Rsa Factorization

Simple Keyword Cypher

Onepad Cipher

Rail Fence Cipher

Xor Cipher

Caesar Cipher

Rabin Miller

Enigma Machine 2

Deterministic Miller Rabin

Compression

Lempel Ziv Decompress

Peak Signal to Noise Ratio

Lempel Ziv

Burrows Wheeler

Computer Vision

Cnn Classification

Mean Threshold

Flip Augmentation

Harris Corner

Pooling Functions

Mosaic Augmentation

Conversions

Octal to Decimal

Decimal to Binary

Prefix Conversions String

Weight Conversion

Rgb Hsv Conversion

Binary to Decimal

Molecular Chemistry

Hexadecimal to Decimal

Pressure Conversions

Temperature Conversions

Prefix Conversions

Binary to Hexadecimal

Binary to Octal

Excel Title to Column

Decimal to Binary Recursion

Decimal to Hexadecimal

Hex to Bin

Volume Conversions

Decimal to Any

Decimal to Octal

Roman Numerals

Length Conversion

Data Structures

Lowest Common Ancestor

Merge Two Binary Trees

Binary Tree Traversals

Maximum Fenwick Tree

Non Recursive Segment Tree

Binary Search Tree Recursive

Binary Search Tree

Number of Possible Binary Trees

Next Greater Element

Stack with Singly Linked List

Evaluate Postfix Notations

Infix to Prefix Conversion

Stock Span Problem

Infix to Postfix Conversion

Dijkstras Two Stack Algorithm

Prefix Evaluation

Postfix Evaluation

Balanced Parentheses

Stack with Doubly Linked List

Priority Queue Using List

Double Ended Queue

Queue on Pseudo Stack

Circular Queue Linked List

Randomized Heap

Middle Element of Linked List

Singly Linked List

Doubly Linked List

Doubly Linked List Two

Circular Linked List

Alternate Disjoint Set

Hash Table with Linked List

Quadratic Probing

Digital Image Processing
Divide and Conquer

Closest Pair of Points

Kth Order Statistic

Heaps Algorithm

Max Difference Pair

Max Subarray Sum

Heaps Algorithm Iterative

Strassen Matrix Multiplication

Dynamic Programming

Matrix Chain Order

Longest Sub Array

Iterating Through Submasks

Subset Generation

Minimum Steps to One

Minimum Coin Change

Longest Increasing Subsequence O(nlogn)

Fractional Knapsack

Minimum Partition

Longest Common Subsequence

Floyd Warshall

Integer Partition

Optimal Binary Search Tree

Minimum Cost Path

Fractional Knapsack 2

Max Sum Contiguous Subsequence

Longest Increasing Subsequence

Max Non Adjacent Sum

Electronics

Coulombs Law

Carrier Concentration

Electric Power

File Transfer
Financial

Equated Monthly Installments

Fractals

Mandelbrot

Sierpinski Triangle

Julia Sets

Koch Snowflake

Fuzzy Logic

Fuzzy Operations

Genetic Algorithm
Geodesy

Lamberts Ellipsoidal Distance

Haversine Distance

Graphics

Bezier Curve

Vector 3 for 2d Rendering

Graphs

Breadth First Search

Directed and Undirected (Weighted) Graph

Finding Bridges

Kahns Algorithm Topo

Bidirectional a Star

Minimum Spanning Tree Kruskal 2

Greedy Best First

Articulation Points

Dijkstra 2

Kahns Algorithm Long

Edmonds Karp Multiple Source and Sink

Graphs Floyd Warshall

Check Bipartite Graph Dfs

Strongly Connected Components

Frequent Pattern Graph Miner

Dijkstra

G Topological Sort

Breadth First Search 2

Depth First Search 2

Dijkstra Algorithm

Even Tree

Breadth First Search Shortest Path

Greedy Min Vertex Cover

Matching Min Vertex Cover

Markov Chain

Bidirectional Breadth First Search

Check Cycle

Gale Shapley Bigraph

Scc Kosaraju

Tarjans Scc

Multi Heuristic Astar

Bfs Shortest Path

Basic Graphs

Boruvka

Eulerian Path and Circuit for Undirected Graph

Graph Matrix

Minimum Path Sum

Connected Components

Check Bipartite Graph Bfs

Bellman Ford

Bfs Zero One Shortest Path

Minimum Spanning Tree Kruskal

Minimum Spanning Tree Boruvka

Page Rank

Depth First Search

Graph List

Minimum Spanning Tree Prims

Minimum Spanning Tree Prims 2

Random Graph Generator

Greedy Methods

Optimal Merge Pattern

Hashing

Hamming Code

Chaos Machine

Enigma Machine

Adler 32

Knapsack

Greedy Knapsack

Linear Algebra

Conjugate Gradient

Power Iteration

Schur Complement

Polynom for Points

Rayleigh Quotient

Transformations 2d

Machine Learning

Word Frequency Functions

Similarity Search

Sequential Minimum Optimization

Linear Discriminant Analysis

Local Weighted Learning

Linear Regression

Gaussian Naive Bayes

Polymonial Regression

Data Transformations

Logistic Regression

Random Forest Regressor

Lstm Prediction

Random Forest Classifier

Support Vector Machines

K Nearest Neighbours

Multilayer Perceptron Classifier

Gradient Boosting Regressor

Scoring Functions

Gradient Descent

Math

Numerical Integration

Gamma Recursive

Quadratic Equations Complex Numbers

Combinations

Hardy Ramanujanalgo

Is Ip v 4 Address Valid

Two Pointer

Kadanes

Triplet Sum

Prime Numbers

Sum of Geometric Progression

Monte Carlo

Trapezoidal Rule

Square Root

Double Factorial Recursive

Basic Maths

Check Polygon

Polynomial Evaluation

Arithmetic Mean

Harmonic Series

Geometric Series

Hexagonal Numbers

Geometric

Find Min

Least Common Multiple

Softmax

Bailey Borwein Plouffe

Sum of Digits

Binomial Distribution

Is Square Free

Krishnamurthy Number

Factors

Primelib

Prime Factors

Sieve of Eratosthenes

Two Sum

Integration by Simpson Approx

Sock Merchant

Simpson Rule

Ugly Numbers

Kth Lexicographic Permutation

Largest of Very Large Numbers

Factorial Recursive

Persistence

Greatest Common Divisor

Aliquot Sum

Binomial Coefficient

Fibonacci Numbers

Collatz Sequence

Double Factorial Iterative

Binary Exp Mod

Perfect Cube

Prime Check

Number of Digits

Factorial Iterative

Miller Rabin

Karatsuba

Prime Sieve Eratosthenes

Allocation Number

Find Max Recursion

Segmented Sieve

Abs Min

Chudnovsky Algorithm

Points Are Collinear 3d

Radix 2 Fft

Decimal Isolate

Average Absolute Deviation

Average Mean

Degrees to Radians

Abs Max

Area Under Curve

Mobius Function

Eulers Totient

Qr Decomposition

Modular Exponential

Pollard Rho

Euler Modified

Average Median

Perfect Square

Gaussian

Binary Exponentiation 3

Sigmoid

Lucas Series

Armstrong Numbers

Euler Method

Extended Euclidean Algorithm

Runge Kutta

Monte Carlo Dice

Perfect Number

Volume

Average Mode

Find Max

Pythagoras

Hamming Numbers

Binary Exponentiation 2

Matrix Exponentiation

Sylvester Sequence

Fermats Little Theorem

3n Plus 1

Greedy Coin Change

Median of Two Arrays

Entropy

Largest Subarray Sum

Jaccard Similarity

Line Length

Euclidean Distance

Euclidean Gcd

Pi Monte Carlo Estimation

Proth Number

Max Sum Sliding Window

Sum of Arithmetic Series

Find Min Recursion

Power Using Recursion

Nevilles Method

Binary Exponentiation

Zellers Congruence

Prime Numbers

Fibonacci Numbers

Matrix

Rotate Matrix

Spiral Print

Matrix Class

Inverse of Matrix

Nth Fibonacci Using Matrix Exponentiation

Matrix Operation

Count Islands in Matrix

Searching in Sorted Matrix

Sherman Morrison

Networking Flow
Neural Network

2 Hidden Layers Neural Network

Convolution Neural Network

Back Propagation Neural Network

Numerical Analysis

Newton Forward Interpolation

In Static Equilibrium

Jacobi Iteration Method

Lu Decomposition

Gaussian Elimination

Others

Tower of Hanoi

Lfu Cache

Least Recently Used

Scoring Algorithm

Gauss Easter

Davisb Putnamb Logemannb Loveland

Doomsday

Linear Congruential Generator

Lru Cache

Alternative List Arrange

Magicdiamondpattern

Nested Brackets

Activity Selection

Dijkstra Bankers Algorithm

Password Generator

Fischer Yates Shuffle

Check Strong Password

Graham Scan

Physics

Horizontal Projectile Motion

Lorenz Transformation Four Vector

N Body Simulation

Newtons Second Law of Motion

Quantum

Ripple Adder Classic

Not Gate

Half Adder

Quantum Entanglement

Single Qubit Measure

Deutsch Jozsa

Scheduling

Non Preemptive Shortest Job First

Round Robin

Multi Level Feedback Queue

First Come First Served

Shortest Job First

Highest Response Ratio Next

Scripts

Validate Filenames

Validate Solutions

Build Directory Md

Searches

Tabu Search

Sentinel Linear Search

Double Linear Search

Quick Select

Simulated Annealing

Simple Binary Search

Ternary Search

Jump Search

Fibonacci Search

Hill Climbing

Interpolation Search

Double Linear Search Recursion

Linear Search

+11

More

Binary Tree Traversal

Binary Search

+12

More
Sorts

Dutch National Flag Sort

Wiggle Sort

Circle Sort

Merge Insertion Sort

Strand Sort

External Sort

Topological Sort

Selection Sort

+13

More

Counting Sort

Quick Sort

+17

More

Quick Sort 3 Partition

Random Normal Distribution Quicksort

Pancake Sort

Random Pivot Quick Sort

Odd Even Transposition Parallel

Bubble Sort

+17

More

Bucket Sort

Recursive Mergesort Array

Patience Sort

Heap Sort

+13

More

Cocktail Shaker Sort

Tree Sort

Unknown Sort

Stooge Sort

Radix Sort

Exchange Sort

Cycle Sort

Shell Sort

Recursive Quick Sort

Comb Sort

Tim Sort

Recursive Bubble Sort

Bitonic Sort

Iterative Merge Sort

Odd Even Sort

Double Sort

Intro Sort

Slowsort

Odd Even Transposition Single Threaded

Msd Radix Sort

Bead Sort

Gnome Sort

Pigeonhole Sort

Shrink Shell Sort

Recursive Insertion Sort

Insertion Sort

+16

More

Bogo Sort

Natural Sort

Pigeon Sort

Strings

Is Contains Unique Chars

Word Patterns

Boyer Moore Search

Can String Be Rearranged as Palindrome

Naive String Search

Levenshtein Distance

Check Pangram

Wildcard Pattern Matching

Alternative String Arrange

Frequency Finder

Manacher

Remove Duplicate

Credit Card Validator

Autocomplete Using Trie

Hamming Distance

Word Occurrence

Indian Phone Validator

Capitalize

Reverse Letters

Reverse Long Words

Jaro Winkler

Palindrome

Aho Corasick

Prefix Function

Reverse Words

Z Function

Rabin Karp

Anagrams

Check Anagrams

Is Palindrome

Knuth Morris Pratt

Detecting English Programmatically

Min Cost String Conversion

Is Palindrome

Web Programming

Crawl Google Results

Get Top Hn Posts

Fetch Well Rx Price

Daily Horoscope

Fetch Anime and Play

Current Weather

Current Stock Price

Slack Message

Get Imdb Top 250 Movies Csv

Fetch Github Info

Covid Stats via Xpath

Fetch Bbc News

Instagram Pic

Instagram Video

Co 2 Emission

Download Images From Google Query

World Covid 19 Stats

Get User Tweets

Emails From Url

Currency Converter

Instagram Crawler

Recaptcha Verification

Random Anime Character

Search Books by Isbn

Crawl Google Scholar Citation