The Algorithms logo
The Algorithms
AboutDonate
undefined

Knapsack

Knapsack

Audio Filters

Show Response

Butterworth Filter

Backtracking

Sum of Subsets

N Queens Math

Rat in Maze

Hamiltonian Cycle

All Combinations

All Permutations

All Subsequences

Knight Tour

Bit Manipulation

Gray Code Sequence

Binary and Operator

Binary Count Setbits

Count Number of One Bits

Count 1s Brian Kernighan Method

Binary or Operator

Binary Twos Complement

Binary Xor Operator

Single Bit Manipulation Operations

Binary Count Trailing Zeros

Blockchain

Diophantine Equation

Chinese Remainder Theorem

Modular Division

Boolean Algebra

Quine Mc Cluskey

Cellular Automata

One Dimensional

Nagel Schrekenberg

Conways Game of Life

Ciphers

Elgamal Key Generator

Shuffled Shift Cipher

Rabin Miller

Hill Cipher

Playfair Cipher

Simple Keyword Cypher

Rsa Factorization

Enigma Machine 2

Trafid Cipher

Rsa Cipher

Transposition Cipher

Vigenere Cipher

Diffie Hellman

Polybius

Mono Alphabetic Ciphers

Onepad Cipher

Simple Substitution Cipher

Morse Code

Decrypt Caesar with Chi Squared

Transposition Cipher Encrypt Decrypt File

Mixed Keyword Cypher

Cryptomath Module

Rsa Key Generator

Porta Cipher

Baconian Cipher

Brute Force Caesar Cipher

Affine Cipher

Xor Cipher

Deterministic Miller Rabin

Beaufort Cipher

Caesar Cipher

Rail Fence Cipher

Compression

Burrows Wheeler

Lempel Ziv Decompress

Peak Signal to Noise Ratio

Lempel Ziv

Computer Vision

Cnn Classification

Mean Threshold

Flip Augmentation

Mosaic Augmentation

Harris Corner

Pooling Functions

Conversions

Decimal to Octal

Binary to Hexadecimal

Binary to Decimal

Weight Conversion

Binary to Octal

Volume Conversions

Rgb Hsv Conversion

Prefix Conversions

Decimal to Binary

Molecular Chemistry

Hexadecimal to Decimal

Hex to Bin

Decimal to Binary Recursion

Decimal to Any

Length Conversion

Temperature Conversions

Decimal to Hexadecimal

Roman Numerals

Octal to Decimal

Pressure Conversions

Data Structures

Stack with Singly Linked List

Stack with Doubly Linked List

Infix to Postfix Conversion

Next Greater Element

Evaluate Postfix Notations

Dijkstras Two Stack Algorithm

Infix to Prefix Conversion

Postfix Evaluation

Stock Span Problem

Prefix Evaluation

Balanced Parentheses

Binary Tree Traversals

Non Recursive Segment Tree

Merge Two Binary Trees

Binary Search Tree Recursive

Lowest Common Ancestor

Number of Possible Binary Trees

Doubly Linked List Two

Middle Element of Linked List

Circular Linked List

Doubly Linked List

Queue on Pseudo Stack

Double Ended Queue

Circular Queue Linked List

Priority Queue Using List

Randomized Heap

Quadratic Probing

Hash Table with Linked List

Alternate Disjoint Set

Digital Image Processing
Divide and Conquer

Kth Order Statistic

Heaps Algorithm

Max Subarray Sum

Closest Pair of Points

Max Difference Pair

Strassen Matrix Multiplication

Heaps Algorithm Iterative

Dynamic Programming

Integer Partition

Longest Increasing Subsequence O(nlogn)

Minimum Coin Change

Subset Generation

Minimum Steps to One

Minimum Partition

Longest Common Subsequence

Longest Increasing Subsequence

Fractional Knapsack

Longest Sub Array

Optimal Binary Search Tree

Iterating Through Submasks

Matrix Chain Order

Fractional Knapsack 2

Max Non Adjacent Sum

Minimum Cost Path

Max Sum Contiguous Subsequence

Electronics

Electric Power

Coulombs Law

Carrier Concentration

File Transfer
Financial

Equated Monthly Installments

Fractals

Koch Snowflake

Julia Sets

Mandelbrot

Sierpinski Triangle

Fuzzy Logic

Fuzzy Operations

Genetic Algorithm
Geodesy

Lamberts Ellipsoidal Distance

Haversine Distance

Graphics

Bezier Curve

Vector 3 for 2d Rendering

Graphs

Directed and Undirected (Weighted) Graph

Minimum Spanning Tree Prims 2

Tarjans Scc

Bidirectional Breadth First Search

Bellman Ford

Boruvka

Check Cycle

Kahns Algorithm Topo

Eulerian Path and Circuit for Undirected Graph

Dijkstra Algorithm

G Topological Sort

Bidirectional a Star

Gale Shapley Bigraph

Graphs Floyd Warshall

Minimum Spanning Tree Boruvka

Basic Graphs

Page Rank

Articulation Points

Greedy Min Vertex Cover

Connected Components

Minimum Spanning Tree Kruskal 2

Edmonds Karp Multiple Source and Sink

Dijkstra

Frequent Pattern Graph Miner

Depth First Search 2

Finding Bridges

Markov Chain

Minimum Spanning Tree Prims

Dijkstra 2

Scc Kosaraju

Check Bipartite Graph Dfs

Minimum Spanning Tree Kruskal

Depth First Search

Random Graph Generator

Check Bipartite Graph Bfs

Breadth First Search

Graph List

Multi Heuristic Astar

Breadth First Search 2

Graph Matrix

Even Tree

Strongly Connected Components

Kahns Algorithm Long

Greedy Best First

Matching Min Vertex Cover

Greedy Methods

Optimal Merge Pattern

Hashing

Adler 32

Hamming Code

Enigma Machine

Chaos Machine

Knapsack

Greedy Knapsack

Linear Algebra

Schur Complement

Power Iteration

Polynom for Points

Rayleigh Quotient

Transformations 2d

Conjugate Gradient

Machine Learning

Linear Discriminant Analysis

Word Frequency Functions

Gaussian Naive Bayes

Gradient Descent

Random Forest Classifier

Similarity Search

Multilayer Perceptron Classifier

Linear Regression

Local Weighted Learning

K Nearest Neighbours

Sequential Minimum Optimization

Scoring Functions

Data Transformations

Logistic Regression

Random Forest Regressor

Support Vector Machines

Gradient Boosting Regressor

Lstm Prediction

Polymonial Regression

Math

Gamma Recursive

Triplet Sum

Basic Maths

Double Factorial Iterative

Prime Factors

Abs Max

Chudnovsky Algorithm

Is Ip v 4 Address Valid

Volume

Fermats Little Theorem

Two Pointer

Entropy

Nevilles Method

Softmax

Binary Exp Mod

Degrees to Radians

Find Min

Pythagoras

Krishnamurthy Number

Perfect Square

Monte Carlo Dice

Check Polygon

Perfect Cube

Combinations

Euler Method

Radix 2 Fft

Power Using Recursion

Sieve of Eratosthenes

Sigmoid

Fibonacci Numbers

Numerical Integration

Runge Kutta

Prime Check

3n Plus 1

Abs Min

Modular Exponential

Sum of Geometric Progression

Area Under Curve

Binary Exponentiation 2

Ugly Numbers

Average Mode

Allocation Number

Armstrong Numbers

Zellers Congruence

Square Root

Binomial Coefficient

Largest Subarray Sum

Perfect Number

Greedy Coin Change

Kadanes

Sylvester Sequence

Simpson Rule

Double Factorial Recursive

Jaccard Similarity

Factorial Iterative

Binomial Distribution

Average Median

Aliquot Sum

Largest of Very Large Numbers

Find Max

Two Sum

Decimal Isolate

Pollard Rho

Binary Exponentiation

Lucas Series

Segmented Sieve

Pi Monte Carlo Estimation

Qr Decomposition

Find Min Recursion

Number of Digits

Miller Rabin

Kth Lexicographic Permutation

Trapezoidal Rule

Factors

Find Max Recursion

Integration by Simpson Approx

Extended Euclidean Algorithm

Sum of Arithmetic Series

Is Square Free

Monte Carlo

Factorial Recursive

Eulers Totient

Euclidean Gcd

Max Sum Sliding Window

Sock Merchant

Median of Two Arrays

Quadratic Equations Complex Numbers

Gaussian

Sum of Digits

Binary Exponentiation 3

Primelib

Collatz Sequence

Polynomial Evaluation

Persistence

Least Common Multiple

Prime Sieve Eratosthenes

Line Length

Karatsuba

Average Mean

Hardy Ramanujanalgo

Proth Number

Mobius Function

Matrix Exponentiation

Harmonic Series

Geometric

Hexagonal Numbers

Arithmetic Mean

Geometric Series

Euler Modified

Bailey Borwein Plouffe

Euclidean Distance

Fibonacci Numbers

Matrix

Spiral Print

Nth Fibonacci Using Matrix Exponentiation

Sherman Morrison

Inverse of Matrix

Matrix Operation

Searching in Sorted Matrix

Rotate Matrix

Count Islands in Matrix

Matrix Class

Networking Flow
Neural Network

Back Propagation Neural Network

Convolution Neural Network

2 Hidden Layers Neural Network

Numerical Analysis

Lu Decomposition

In Static Equilibrium

Jacobi Iteration Method

Gaussian Elimination

Newton Forward Interpolation

Others

Doomsday

Graham Scan

Least Recently Used

Alternative List Arrange

Lfu Cache

Davisb Putnamb Logemannb Loveland

Scoring Algorithm

Check Strong Password

Dijkstra Bankers Algorithm

Tower of Hanoi

Nested Brackets

Linear Congruential Generator

Gauss Easter

Activity Selection

Password Generator

Lru Cache

Magicdiamondpattern

Fischer Yates Shuffle

Physics

Newtons Second Law of Motion

N Body Simulation

Quantum

Deutsch Jozsa

Ripple Adder Classic

Quantum Entanglement

Single Qubit Measure

Half Adder

Not Gate

Scheduling

Round Robin

First Come First Served

Scripts

Build Directory Md

Validate Filenames

Validate Solutions

Searches

Quick Select

Interpolation Search

Ternary Search

Binary Search

+12

More

Double Linear Search

Double Linear Search Recursion

Binary Tree Traversal

Simulated Annealing

Hill Climbing

Fibonacci Search

Linear Search

+11

More

Tabu Search

Simple Binary Search

Sentinel Linear Search

Jump Search

Sorts

Exchange Sort

Odd Even Sort

Odd Even Transposition Parallel

Iterative Merge Sort

Strand Sort

Tree Sort

Bogo Sort

Bubble Sort

+15

More

Topological Sort

Counting Sort

Dutch National Flag Sort

Cocktail Shaker Sort

Bead Sort

Patience Sort

Cycle Sort

Intro Sort

Pancake Sort

Quick Sort

+17

More

Pigeon Sort

Recursive Quick Sort

Random Normal Distribution Quicksort

Recursive Bubble Sort

Merge Insertion Sort

Insertion Sort

+15

More

Radix Sort

Unknown Sort

Natural Sort

Bucket Sort

Tim Sort

Stooge Sort

Comb Sort

Heap Sort

+13

More

Pigeonhole Sort

Wiggle Sort

Random Pivot Quick Sort

Double Sort

Msd Radix Sort

External Sort

Shell Sort

Gnome Sort

Slowsort

Bitonic Sort

Recursive Mergesort Array

Recursive Insertion Sort

Quick Sort 3 Partition

Odd Even Transposition Single Threaded

Selection Sort

+12

More
Strings

Credit Card Validator

Anagrams

Capitalize

Check Pangram

Word Occurrence

Is Contains Unique Chars

Rabin Karp

Levenshtein Distance

Boyer Moore Search

Frequency Finder

Check Anagrams

Min Cost String Conversion

Palindrome

Reverse Words

Reverse Long Words

Reverse Letters

Autocomplete Using Trie

Indian Phone Validator

Alternative String Arrange

Z Function

Naive String Search

Wildcard Pattern Matching

Detecting English Programmatically

Manacher

Remove Duplicate

Knuth Morris Pratt

Can String Be Rearranged as Palindrome

Aho Corasick

Prefix Function

Word Patterns

Jaro Winkler

Web Programming

Instagram Crawler

Current Weather

Instagram Video

Emails From Url

Slack Message

Covid Stats via Xpath

Daily Horoscope

Search Books by Isbn

Current Stock Price

Crawl Google Results

Instagram Pic

Get User Tweets

Get Imdb Top 250 Movies Csv

Download Images From Google Query

Co 2 Emission

Currency Converter

Recaptcha Verification

Get Top Hn Posts

Crawl Google Scholar Citation