The Algorithms logoThe Algorithms
About
Backtracking

Magic Sequence

Graph Coloring

Subarray Sum

Wildcard Matching

Sudoku Solve

Knight Tour

N Queens All Solution Optimised

Nqueen Print All Solutions

Bit Manipulation

Count of Set Bits

Count of Trailing Ciphers in Factorial N

Blockchain

Modular Division

Ciphers

Uint256 T

Base64 Encoding

Uint128 T

Caesar Cipher

Elliptic Curve Key Exchange

Hill Cipher

Morse Code

Xor Cipher

Vigenere Cipher

Compression
Conversions

Decimal to Binary

Decimal to Hexadecimal

Data Structures
Divide and Conquer

Karatsuba Algorithm for Fast Multiplication

Dynamic Programming

Matrix Chain Multiplication

Longest Common String

Longest Common Subsequence

Egg Dropping Puzzle

Searching of Element in Dynamic Array

Longest Increasing Subsequence

Longest Increasing Subsequence (Nlogn)

Minimum Edit Distance

Palindrome Partitioning

Coin Change Topdown

Fibonacci Bottom Up

LongestPalindromicSubsequence

Geometry

Jarvis Algorithm

Line Segment Intersection

Graphics

Spirograph

Graphs

Dijkstra

Bellman Ford

Depth First Search

Hamiltons Cycle

Hopcroft Karp

Kosaraju

Max Flow with Ford Fulkerson and Edmond Karp Algo

Connected Components with Dsu

Dijkstra

Is Graph Bipartite

Kruskal

Depth First Search with Stack

Connected Components

Breadth First Search

Bridge Finding with Tarjan Algorithm

Topological Sort by Kahns Algo

Bidirectional Dijkstra

Cycle Check Directed Graph

Greedy Algorithms

Kruskals Minimum Spanning Tree

Prims Minimum Spanning Tree

Hashing

Double Hash Hash Table

Chaining

Linear Probing Hash Table

Quadratic Probing Hash Table

Linear Algebra

Gram Schmidt

Machine Learning

Kohonen Som Topology

Ordinary Least Squares Regressor

Kohonen Som Trace

Neural Network

Adaline Learning

Math

ArmstrongNumber

Qr Decomposition

Runge Kutta

Check Prime

Power of Two

Prime Numbers

Largest Power

String Fibonacci

Complex Numbers

Gcd Iterative Euclidean

Magic Number

Ncr Modulo P

Fibonacci Matrix Exponentiation

Gcd of N Numbers

Vector Cross Product

Fibonacci Sum

Sum of Binomial Coefficient

Large Factorial

Check Factorial

Integral Approximation

Realtime Stats

Sqrt Double

Miller Rabin

Sieve of Eratosthenes

Double Factorial

Linear Recurrence Matrix

Gcd Recursive Euclidean

Power for Huge Numbers

Extended Euclid Algorithm

Modular Inverse Fermat Little Theorem

ArmstrongNumber

Least Common Multiple

N Bonacci

Primes up to Billion

Fibonacci Fast

Check Amicable Pair

Modular Exponentiation

Binomial Calculate

EulersTotientFunction

Number of Positive Divisors

Sum of Digits

Lcm Sum

N Choose R

Large Number

Prime Factorization

Fibonacci Large

Binary Exponent

Fast Power

Fibonacci Numbers

PascalTriangle

Matrix Exponentiation

Matrix

Spiral Print

Numerical Analysis

Gaussian Elimination

Lu Decomposition

Numerical Methods

Qr Eigen Values

Ode Midpoint Euler

Golden Search Extrema

Brent Method Extrema

Ode Semi Implicit Euler

Durand Kerner Roots

False Position

Bisection Method

Ode Forward Euler

Successive Approximation

Newton Raphson Method

Operations on Datastructures

Intersection of 2 Arrays

Inorder Successor of Bst

Selectionsortlinkedlist

Get Size of Linked List

Circular Queue Using Array

Reverse a Linked List Using Recusion

Others

Vector Important Functions

Iterative Tree Traversals

Tower of Hanoi

Palindrome of Number

Sparse Matrix

Stairs Pattern

Smallest Circle

Paranthesis Matching

Buzz Number

Decimal to Roman Numeral

Fast Integer Input

Happy Number

Probability

Poisson Dist

Bayes Theorem

Binomial Dist

Addition Rule

Range Queries

Persistent Seg Tree Lazy Prop

Heavy Light Decomposition

Searches

Saddleback Search

Ternary Search

Interpolation Search2

Jump Search

Hash Search

Exponential Search

Floyd Cycle Detection Algo

Median Search

Text Search

Interpolation Search

Sublist Search

Binary Search

+11

More

Linear Search

+10

More

Fibonacci Search

Sorts

Topological Sort

Insertion Sort

+13

More

Pancake Sort

Quick Sort

+15

More

Numeric String Sort

Count Inversions

Bucket Sort

Counting Sort

Pigeonhole Sort

Shell Sort

Cycle Sort

Strand Sort

Cocktail Selection Sort

Heap Sort

+11

More

Comb Sort

Bead Sort

Wiggle Sort

Quick Sort 3

Odd Even Sort

Random Pivot Quick Sort

Slowsort

Counting Sort String

Bogo Sort

Tim Sort

Bubble Sort

+15

More

Swap Sort

Selection Sort

+12

More

Merge Insertion Sort

Recursive Bubble Sort

Radix Sort2

Gnome Sort

Shell Sort2

Library Sort

Merge Sort

+16

More

Radix Sort

Non Recursive Merge Sort

Bitonic Sort

Wave Sort

Strings

HammingDistance

Knuth Morris Pratt

Rabin Karp

Horspool

Brute Force String Searching