The Algorithms logo
The Algorithms
AboutDonate
undefined

Minimizing Lateness

Audio Filters
Backtracking

Maze Recursion

Permutation

Combination

All Paths From Source To Target

Knights Tour

Array Combination

Word Search

Hamiltonian Cycle

Sudoku Solver

Ciphers

Product Cipher

AES Encryption

Vigenere

Blowfish

Columnar Transposition Cipher

A 5 Key Stream Generator

A 5 Cipher

Composite LFSR

Base LFSR

Polybius

Simple Sub Cipher

Hill Cipher

Affine Cipher

Simple Substitution Cipher

Compression
Conversions

Decimal to Binary

Binary to Hexadecimal

Hexa Decimal To Binary

Any Base To Any Base

Octal To Binary

Octal to Decimal

Any Base To Decimal

Binary to Decimal

Decimal to Octal

Hex To Oct

Integer To Roman

Binary to Octal

Turkish To Latin Conversion

Hexadecimal to Decimal

Rgb Hsv Conversion

Decimal To Any Base

Roman To Integer

Octal To Hexadecimal

Decimal to Hexadecimal

CPU Scheduling Algorithms
Data Structures

Infix To Postfix

Stack with Singly Linked List

Maximum Minimum Window

Decimal To Any Using Stack

Stack Array List

Next Smaller Element

Next Grater Element

Largest Rectangle

Duplicate Brackets

Calculate Max Of Min

Postfix To Infix

Balanced Brackets

Dynamic Array

Tarjans Algorithm

DIJSKSTRAS ALGORITHM

Bipartite Grapf DFS

Connected Component

Vertical Order Traversal

Zigzag Traversal

Inorder Traversal

Tree Random Node

Print Top Viewof Tree

Check Binary Tree Is Valid BST

Pre Order Traversal

Create Binary Tree From Inorder Preorder

BST From Sorted Array

Ceil In Binary Search Tree

Check If Binary Tree Balanced

BST Recursive Generic

Post Order Traversal

Level Order Traversal

Check Tree Is Symmetric

Nearest Right Key

Same Trees Check

Empty Heap Exception

Min Priority Queue

Disjoint Sets

Generic Hash Map Using Array List

Generic Hash Map Using Array

Hash Map Cuckoo Hashing

Linear Probing Hash Map

Generic Array List Queue

Search Singly Linked List Recursion

Merge Sorted Singly Linked List

Count Singly Linked List Recursion

Doubly Linked List

Create And Detect Loop

Merge Sorted Array List

Cursor Linked List

Merge K Sorted Linkedlist

Singly Linked List

Circle Linked List

Queue Using Two Stacks

Devutils

Process Details

Search Algorithm

Matrix Search Algorithm

Simple Tree Node

Large Tree Node

Simple Node

Digital Image Processing
Divide and Conquer

Strassen Matrix Multiplication

Skyline Algorithm

Dynamic Programming

Floyd Warshall

Matrix Chain Recursive Top Down Memoisation

Longest Common Subsequence

Shortest Common Supersequence Length

Dyanamic Programming Knapsack

Count Friends Pairing

Optimal Job Scheduling

Palindromic Partitioning

Longest Valid Parentheses

Longest Palindromic Subsequence

New Man Shanks Prime

Brute Force Knapsack

Partition Problem

Matrix Chain Multiplication

Knapsack Memoization

Minimum Sum Partition

Kadane Algorithm

Longest Alternating Subsequence

Longest Increasing Subsequence

Fractals

Mandelbrot

Koch Snowflake

Graphs

Depth First Search

Breadth First Search

Prim MST

Kosaraju

Bellman Ford

Kruskal

Minimum Path Sum

Dijkstra

Page Rank

Hashing
Io

Buffered Reader

Math

Binary Pow

Absolute Value

Palindrome Number

Parse Integer

Fast Inverse Sqrt

Square Free Integer

GCD Recursion

Leonardo Number

Sum Without Arithmetic Operators

Keith Number

Josephus Problem

Standard Score

Aliquot Sum

Magic Square

Prime Factorization

Average

Long Division

Lucas Series

Absolute Min

Collatz Conjecture

Generic Root

Pythagorean Triple

Volume

Combinations

Factorial Recursion

Sum of Arithmetic Series

Find Max Recursion

Gaussian

Least Common Multiple

Standard Deviation

Sum of Digits

Roman Numeral Util

Harshad Number

Pi Nilakantha

Absolute Max

Determinant Of Matrix

Fibonacci Java Streams

Kaprekar Numbers

Perimeter

Perfect Square

Reverse Number

Armstrong Number

Perfect Cube

Krishnamurthy Number

Pronic Number

Automorphic Number

Frizzy Number

Euler Method

Amicable Number

Find Min

Ugly Numbers

Vector Cross Product

Binomial Coefficient

Factorial

+11

More

Matrix Util

Perfect Number

Square Root With Babylonian Method

Digital Root

Juggler Sequence

Find Kth Number

Pow Recursion

Median

Mobius Function

Circular Convolution FFT

Pollard Rho

FFT Bluestein

Square Root With Newton Raphson Method

Trinomial Triangle

Convolution

Find Max

ADT Fraction

Convolution FFT

Power Of Two Or Not

Linear Diophantine Equations Solver

Herons Formula

Dudeney Number

Distance Formula

Prime

Number of Digits

Find Min Recursion

Vampire Number

Fibonacci Number Check

Liouville Lambda Function

Simpson Integration

Max Value

Min Value

Non Repeating Element

Twin Prime

Fibonacci Numbers

+10

More

Fibonacci Numbers

+10

More

Catalan Number

Binary Exponentiation

Sieve of Eratosthenes

Matrix

Pascal Triangle

Inverse of Matrix

Networking Flow

Ford Fulkerson

Numerical Analysis
Operations on Datastructures
Others

Word Boggle

Palindrome Singly Linked List

Matrix Transpose

Palindrome Prime

Range In Sorted Array

Sort 012 D

Color Contrast Ratio

Sparcity

Median Of Running Array

Three Sum Problem

Graham Scan

Lru Cache

Lfu Cache

Top K Words

Perlin Noise

Password Gen

Count Words

Linear Congruential Generator

Reverse Stack Using Recursion

Guass Legendre

Print A Matrix In Spiral Order

Line Sweep

Remove Duplicate From String

Floyd Triangle

Happy Numbers Seq

Stack Postfix Notation

Root Precision

Lowest Base Palindrome

Count Char

Rotate Matrice By 90 Degree

Skyline Problem

Verhoeff

Krishnamurthy

Insert Delete In Array

Mini Max Algorithm

Two Pointers

CRC Algorithm

Tower of Hanoi

Brian Kernighan Algorithm

Implementing Auto Completing Features Using Trie

Memory Management Algorithms

String Match Finite Automata

Fibbonaci Series

Eulers Function

Return Subsequence

Bankers Algorithm

Count Set Bits

Recursive

Flood Fill

Scheduling

SJF Scheduling

RR Scheduling

Searches

Linear Search

+13

More

Order Agnostic Binary Search

Lower Bound

KMP Search

Sort Order Agnostic Binary Search

Ternary Search

Saddleback Search

Binary Search

+14

More

Upper Bound

Iterative Binary Search

Union Find

Perfect Binary Search

Rabin Karp Algorithm

Linear Search Thread

Quick Select

Jump Search

Binary Search 2d Array

Square Root Binary Search

How Many Times Rotated

Row Column Wise Sorted 2d Array Binary Search

Fibonacci Search

Search In A Row And Col Wise Sorted Matrix

Exponental Search

Iterative Ternary Search

Monte Carlo Tree Search

Interpolation Search

Sorts

Cocktail Shaker Sort

Shell Sort

Bubble Sort Recursion

Sort Utils

Swap Sort

Sort Utils Random Generator

Introspective Sort

Counting Sort

Simple Sort

Dual Pivot Quick Sort

Circle Sort

Link List Sort

Odd Even Sort

Bead Sort

Gnome Sort

Wiggle Sort

Stooge Sort

Topological Sort

Selection Sort

+13

More

Merge Sort Recursive

Pancake Sort

Pigeonhole Sort

Strand Sort

Dnf Sort

Sort Algorithm

Heap Sort

+12

More

Radix Sort

Comb Sort

Insertion Sort

+17

More

Tree Sort

Merge Sort No Extra Space

Bubble Sort

+18

More

Binary Insertion Sort

Tim Sort

Bucket Sort

Cycle Sort

Bogo Sort

Bitonic Sort

Quick Sort

+18

More

Dutch National Flag Sort

Slowsort

Strings

Longest Palindromic Substring

Characters Same

Valid Parentheses

Reverse String

Zig Zag Pattern

Longest Non Repeative Substring

Isomorphic

Palindrome

Check Anagram

Word Ladder

Reverse String Recursive

Hamming Distance

Alphabetical

Check Vowels

Letter Combinations Of Phone Number

Horspool Search

Permute String

String Compression

Longest Palindromic Substring

Levenshtein Distance

Rabin Karp

Boyer Moore

Hamming Distance