The Algorithms logo
The Algorithms
AboutDonate
undefined

Minimizing Lateness

Audio Filters
Backtracking

Sudoku Solver

Hamiltonian Cycle

Knights Tour

Maze Recursion

Permutation

Combination

Ciphers

Polybius

Affine Cipher

AES Encryption

Product Cipher

Columnar Transposition Cipher

A 5 Cipher

Base LFSR

Composite LFSR

A 5 Key Stream Generator

Simple Substitution Cipher

Blowfish

Vigenere

Simple Sub Cipher

Hill Cipher

Compression
Conversions

Decimal to Hexadecimal

Decimal to Octal

Hex To Oct

Hexa Decimal To Binary

Binary to Hexadecimal

Integer To Roman

Roman To Integer

Rgb Hsv Conversion

Any Base To Decimal

Decimal to Binary

Octal to Decimal

Decimal To Any Base

Binary to Decimal

Turkish To Latin Conversion

Binary to Octal

Any Base To Any Base

Octal To Hexadecimal

Hexadecimal to Decimal

CPU Scheduling Algorithms
Data Structures

Queue Using Two Stacks

Infix To Postfix

Next Grater Element

Duplicate Brackets

Calculate Max Of Min

Next Smaller Element

Decimal To Any Using Stack

Stack Array List

Stack with Singly Linked List

Postfix To Infix

Maximum Minimum Window

Balanced Brackets

Largest Rectangle

Disjoint Sets

Nearest Right Key

Valid BST Or Not

Print Top Viewof Tree

Level Order Traversal Queue

Level Order Traversal

Ceil In Binary Search Tree

Vertical Order Traversal

Check Tree Is Symmetric

Check If Binary Tree Balanced

Tree Random Node

BST Recursive Generic

Create Binary Tree From Inorder Preorder

Zigzag Traversal

Same Trees Check

Create BST From Sorted Array

Dynamic Array

Count Singly Linked List Recursion

Singly Linked List

Create And Detect Loop

Cursor Linked List

Merge Sorted Array List

Search Singly Linked List Recursion

Circle Linked List

Doubly Linked List

Merge Sorted Singly Linked List

Merge K Sorted Linkedlist

Bipartite Grapf DFS

DIJSKSTRAS ALGORITHM

Connected Component

Generic Hash Map Using Array List

Hash Map Linear Probing

Generic Hash Map Using Array

Hash Map Cuckoo Hashing

Empty Heap Exception

Min Priority Queue

Generic Array List Queue

Devutils

Search Algorithm

Matrix Search Algorithm

Process Details

Simple Node

Simple Tree Node

Large Tree Node

Digital Image Processing
Divide and Conquer

Strassen Matrix Multiplication

Skyline Algorithm

Dynamic Programming

Shortest Common Supersequence Length

Palindromic Partitioning

Longest Palindromic Subsequence

New Man Shanks Prime

Matrix Chain Recursive Top Down Memoisation

Longest Common Subsequence

Minimum Sum Partition

Longest Valid Parentheses

Longest Increasing Subsequence

Longest Alternating Subsequence

Knapsack Memoization

Matrix Chain Multiplication

Kadane Algorithm

Brute Force Knapsack

Fibonacci Numbers

+10

More

Dyanamic Programming Knapsack

Longest Palindromic Substring

Count Friends Pairing

Longest Palindromic Substring

Floyd Warshall

Fibonacci Numbers

+10

More

Fibonacci Numbers

+10

More
Fractals

Koch Snowflake

Mandelbrot

Graphs

Breadth First Search

Depth First Search

Minimum Path Sum

Dijkstra

Page Rank

Kruskal

Bellman Ford

Prim MST

Hashing
Math

Binary Exponentiation

Catalan Number

Sieve of Eratosthenes

Find Max Recursion

Ugly Numbers

Magic Square

Convolution FFT

Average

Binary Pow

Krishnamurthy Number

Volume

Mobius Function

Square Root With Babylonian Method

Find Max

GCD Recursion

Fast Inverse Sqrt

Juggler Sequence

Digital Root

Sum of Digits

Simpson Integration

Aliquot Sum

Automorphic Number

Trinomial Triangle

Absolute Value

Power Of Two Or Not

Palindrome Number

Standard Deviation

Roman Numeral Util

Pronic Number

Herons Formula

Circular Convolution FFT

Prime Factorization

Perimeter

Vector Cross Product

Find Min

Square Root With Newton Raphson Method

Linear Diophantine Equations Solver

Convolution

Kaprekar Numbers

Least Common Multiple

Dudeney Number

Pow Recursion

Gaussian

Perfect Number

Find Min Recursion

Matrix Util

Pi Nilakantha

Fibonacci Java Streams

Sum of Arithmetic Series

Find Kth Number

Min Value

Josephus Problem

Amicable Number

Lucas Series

Absolute Max

Pollard Rho

Standard Score

Generic Root

Reverse Number

Long Division

ADT Fraction

Harshad Number

Square Free Integer

Pythagorean Triple

Keith Number

Leonardo Number

Collatz Conjecture

Determinant Of Matrix

Distance Formula

Liouville Lambda Function

Perfect Square

Sum Without Arithmetic Operators

Combinations

Number of Digits

Twin Prime

Median

Vampire Number

Max Value

Absolute Min

Non Repeating Element

Parse Integer

Factorial Recursion

FFT Bluestein

Perfect Cube

Euler Method

Binomial Coefficient

Armstrong Number

Matrix

Pascal Triangle

Inverse of Matrix

Networking Flow

Ford Fulkerson

Numerical Analysis
Operations on Datastructures
Others

Bankers Algorithm

Linear Congruential Generator

Count Words

CRC Algorithm

Print A Matrix In Spiral Order

Return Subsequence

Brian Kernighan Algorithm

Happy Numbers Seq

Stack Postfix Notation

Count Char

Tower of Hanoi

Top K Words

Remove Duplicate From String

Implementing Auto Completing Features Using Trie

Root Precision

Memory Management Algorithms

Floyd Triangle

Count Set Bits

Verhoeff

Fibbonaci Series

Guass Legendre

Mini Max Algorithm

Two Pointers

String Match Finite Automata

Perlin Noise

Reverse Stack Using Recursion

Insert Delete In Array

Lowest Base Palindrome

Eulers Function

Skyline Problem

Rotate Matrice By 90 Degree

Password Gen

Krishnamurthy

Three Sum

Lfu Cache

Lru Cache

Color Contrast Ratio

Three Sum Problem

Word Boggle

Matrix Transpose

Two Sum Problem

Sort 012 D

Median Of Running Array

Palindrome Prime

Sparcity

Range In Sorted Array

Palindrome Singly Linked List

Recursive

Flood Fill

Scheduling

SJF Scheduling

Searches

Ternary Search

Jump Search

Upper Bound

Perfect Binary Search

Row Column Wise Sorted 2d Array Binary Search

Search In A Row And Col Wise Sorted Matrix

Quick Select

Monte Carlo Tree Search

Exponental Search

Interpolation Search

Square Root Binary Search

Rabin Karp Algorithm

Fibonacci Search

Binary Search

+13

More

Lower Bound

KMP Search

Order Agnostic Binary Search

Linear Search Thread

Iterative Ternary Search

Iterative Binary Search

Linear Search

+12

More

Saddleback Search

Binary Search 2d Array

How Many Times Rotated

Union Find

Sorts

Strand Sort

Merge Sort

+17

More

Bead Sort

Wiggle Sort

Merge Sort Recursive

Slowsort

Comb Sort

Tim Sort

Dutch National Flag Sort

Binary Insertion Sort

Cycle Sort

Heap Sort

+12

More

Bucket Sort

Quick Sort

+17

More

Tree Sort

Insertion Sort

+16

More

Counting Sort

Sort Utils

Gnome Sort

Simple Sort

Cocktail Shaker Sort

Bubble Sort Recursion

Link List Sort

Circle Sort

Bitonic Sort

Topological Sort

Merge Sort No Extra Space

Sort Algorithm

Sort Utils Random Generator

Pigeonhole Sort

Dual Pivot Quick Sort

Shell Sort

Swap Sort

Odd Even Sort

Pancake Sort

Stooge Sort

Bogo Sort

Dnf Sort

Bubble Sort

+17

More

Radix Sort

Selection Sort

+13

More
Strings

Levenshtein Distance

Hamming Distance

Rabin Karp

Boyer Moore

Valid Parentheses

Palindrome

Reverse String Recursive

Characters Same

Check Anagram

Alphabetical

Horspool Search

Hamming Distance

Longest Non Repeative Substring

Permute String

Zig Zag Pattern

Word Ladder

Check Vowels

Isomorphic

Letter Combinations Of Phone Number

Reverse String