The Algorithms logo
The Algorithms
AboutDonate
Backtracking

Graph Coloring

Wildcard Matching

Knight Tour

Subarray Sum

Nqueen Print All Solutions

Magic Sequence

Sudoku Solver

N Queens All Solution Optimised

Bit Manipulation

Count of Trailing Ciphers in Factorial N

Find Non Repeating Number

Count of Set Bits

Count Bits Flip

Blockchain

Modular Division

Ciphers

Vigenere Cipher

Elliptic Curve Key Exchange

Uint 128 T

Uint 256 T

Hill Cipher

Morse Code

Caesar Cipher

Base 64 Encoding

Atbash Cipher

A 1z 26 Cipher

XOR Cipher

Compression
Conversions

Decimal to Hexadecimal

Decimal to Binary

CPU Scheduling Algorithms
Data Structures

Circular Linked List

Postfix Evaluation

Morrisinorder

Linkedlist Implentation Usingarray

Doubly Linked List

Queue Using Linked List

Trie Using Hashmap

Dsu Union Rank

Stack Using Array

Queue Using Two Stacks

Queue Using Linked List

Stack with Singly Linked List

Reverse a Linked List

Binary Search Tree

Dsu Path Compression

Stack Using Queue

Queue Using Array 2

Queue Using Array

Circular Queue Using Linked List

Binary Search Tree 2

Lowest Common Ancestor

Divide and Conquer

Karatsuba Algorithm for Fast Multiplication

Dynamic Programming

Fibonacci Numbers

+10

More

Searching of Element in Dynamic Array

Palindrome Partitioning

Longest Increasing Subsequence

Egg Dropping Puzzle

Floyd Warshall

Longest Common String

Coin Change Topdown

Longest Common Subsequence

Longest Palindromic Subsequence

Shortest Common Supersequence

Partition Problem

Matrix Chain Multiplication

Minimum Edit Distance

Longest Increasing Subsequence (Nlogn)

Fibonacci Bottom Up

Geometry

Jarvis Algorithm

Graham Scan Algorithm

Line Segment Intersection

Graham Scan Functions

Graphics

Spirograph

Graphs

Dijkstra

Bellman Ford

Connected Components

Hopcroft Karp

Dijkstra

Depth First Search

Breadth First Search

Bi Directional Dijkstra

Kruskal

Is Graph Bipartite 2

Hamiltons Cycle

Depth First Search with Stack

Max Flow with Ford Fulkerson and Edmond Karp Algo

Topological Sort by Kahns Algo

Bridge Finding with Tarjan Algorithm

Cycle Check Directed Graph

Travelling Salesman Problem

Is Graph Bipartite

Kosaraju

Connected Components with Dsu

Greedy Algorithms

Prims Minimum Spanning Tree

Kruskals Minimum Spanning Tree

Hashing

Double Hash Hash Table

Chaining

Quadratic Probing Hash Table

Linear Probing Hash Table

Machine Learning

Kohonen Som Trace

Kohonen Som Topology

Ordinary Least Squares Regressor

Neural Network

Adaline Learning

Math

Check Factorial

Least Common Multiple

Modular Inverse Simple

Double Factorial

Power of Two

Linear Recurrence Matrix

Number of Positive Divisors

Modular Inverse Fermat Little Theorem

Gcd Iterative Euclidean

Sum of Binomial Coefficient

Sum of Digits

N Choose R

Fibonacci Sum

Power for Huge Numbers

Fibonacci Fast

Fast Power

Fibonacci Large

Primes up to Billion

Finding Number of Digits in a Number

Binomial Calculate

Complex Numbers

Prime

Check Amicable Pair

Sqrt Double

Magic Number

Miller Rabin

Gcd of N Numbers

Extended Euclid Algorithm

Integral Approximation

Prime Factorization

Large Factorial

Sieve of Eratosthenes

Perimeter

N Bonacci

String Fibonacci

Ncr Modulo P

Volume

Fibonacci Matrix Exponentiation

Vector Cross Product

Large Number

Modular Exponentiation

Prime

Gcd Recursive Euclidean

Armstrong Number

Integral Approximation 2

Realtime Stats

Binary Exponent

Approximate Pi

Largest Power

Inv Sqrt

Eulers Totient Function

Matrix Exponentiation

Armstrong Number

Runge Kutta

Qr Decomposition

Bisection Method

Matrix

Spiral Print

Pascal Triangle

Numerical Analysis

Lu Decomposition

Gaussian Elimination

Numerical Methods

Newton Raphson Method

Durand Kerner Roots

Golden Search Extrema

Successive Approximation

Midpoint Integral Method

False Position

Composite Simpson Rule

Ode Semi Implicit Euler

Brent Method Extrema

Qr Eigen Values

Fast Fourier Transform

Ode Forward Euler

Ode Midpoint Euler

Inverse Fast Fourier Transform

Babylonian Method

Operations on Datastructures

Selectionsortlinkedlist

Circular Queue Using Array

Inorder Successor of Bst

Intersection of Two Arrays

Get Size of Linked List

Reverse a Linked List Using Recusion

Others

Vector Important Functions

Paranthesis Matching

Iterative Tree Traversals

Tower of Hanoi

Sparse Matrix

Fast Integer Input

Decimal to Roman Numeral

Stairs Pattern

Happy Number

Lru Cache

Kadanes 3

Buzz Number

Recursive Tree Traversal

Smallest Circle

Palindrome of Number

Physics

Ground to Ground Projectile Motion

Probability

Windowed Median

Bayes Theorem

Geometric Dist

Binomial Dist

Addition Rule

Poisson Dist

Range Queries

Persistent Seg Tree Lazy Prop

Sparse Table

Heavy Light Decomposition

Prefix Sum Array

Sparse Table

Searches

Text Search

Exponential Search

Ternary Search

Interpolation Search 2

Binary Search

+13

More

Interpolation Search

Saddleback Search

Fibonacci Search

Median Search 2

Median Search

Linear Search

+12

More

Jump Search

Floyd Cycle Detection Algo

Sublist Search

Hash Search

Sorts

Radix Sort 2

Bitonic Sort

Bucket Sort

Wiggle Sort

Radix Sort

Insertion Sort

+16

More

Strand Sort

Tim Sort

Heap Sort

+12

More

Quick Sort

+17

More

Dnf Sort

Shell Sort

Quick Sort 3

Merge Insertion Sort

Library Sort

Selection Sort Iterative

Count Inversions

Binary Insertion Sort

Selection Sort Recursive

Shell Sort 2

Cocktail Selection Sort

Wave Sort

Bogo Sort

Gnome Sort

Counting Sort String

Pancake Sort

Pigeonhole Sort

Odd Even Sort

Random Pivot Quick Sort

Swap Sort

Bead Sort

Numeric String Sort

Bubble Sort

+17

More

Non Recursive Merge Sort

Counting Sort

Cycle Sort

Recursive Bubble Sort

Comb Sort

Slowsort

Topological Sort

Strings

Rabin Karp

Z Function

Manacher Algorithm

Horspool

Brute Force String Searching

Knuth Morris Pratt

Hamming Distance