The Algorithms logo
The Algorithms
AboutDonate
undefined

Minimizing Lateness

Audio Filters
Backtracking

Combination

Knights Tour

Permutation

Maze Recursion

Hamiltonian Cycle

Sudoku Solver

Ciphers

Blowfish

Columnar Transposition Cipher

Polybius

Simple Sub Cipher

A 5 Cipher

A 5 Key Stream Generator

Composite LFSR

Base LFSR

Vigenere

Product Cipher

Simple Substitution Cipher

Hill Cipher

Affine Cipher

AES Encryption

Compression
Conversions

Any Base To Any Base

Binary to Hexadecimal

Any Base To Decimal

Integer To Roman

Hexa Decimal To Binary

Hex To Oct

Octal To Hexadecimal

Octal to Decimal

Decimal to Octal

Rgb Hsv Conversion

Decimal to Binary

Turkish To Latin Conversion

Binary to Decimal

Hexadecimal to Decimal

Decimal to Hexadecimal

Binary to Octal

Decimal To Any Base

Roman To Integer

CPU Scheduling Algorithms
Data Structures

Disjoint Sets

Largest Rectangle

Next Smaller Element

Next Grater Element

Decimal To Any Using Stack

Stack with Singly Linked List

Maximum Minimum Window

Calculate Max Of Min

Infix To Postfix

Balanced Brackets

Duplicate Brackets

Postfix To Infix

Stack Array List

Generic Hash Map Using Array

Hash Map Linear Probing

Hash Map Cuckoo Hashing

Generic Hash Map Using Array List

Check Tree Is Symmetric

Level Order Traversal

Nearest Right Key

Valid BST Or Not

Tree Random Node

Ceil In Binary Search Tree

Level Order Traversal Queue

Vertical Order Traversal

Create Binary Tree From Inorder Preorder

Check If Binary Tree Balanced

Create BST From Sorted Array

Print Top Viewof Tree

BST Recursive Generic

Dynamic Array

Connected Component

Bipartite Grapf DFS

DIJSKSTRAS ALGORITHM

Singly Linked List

Merge Sorted Singly Linked List

Cursor Linked List

Merge Sorted Array List

Count Singly Linked List Recursion

Merge K Sorted Linkedlist

Create And Detect Loop

Doubly Linked List

Search Singly Linked List Recursion

Circle Linked List

Generic Array List Queue

Empty Heap Exception

Min Priority Queue

Queue Using Two Stacks

Devutils

Process Details

Search Algorithm

Matrix Search Algorithm

Simple Node

Simple Tree Node

Large Tree Node

Digital Image Processing
Divide and Conquer

Skyline Algorithm

Strassen Matrix Multiplication

Dynamic Programming

Fibonacci Numbers

+10

More

Floyd Warshall

Brute Force Knapsack

Longest Increasing Subsequence

Count Friends Pairing

Dyanamic Programming Knapsack

Matrix Chain Recursive Top Down Memoisation

Palindromic Partitioning

Fibonacci Numbers

+10

More

Longest Palindromic Substring

Minimum Sum Partition

Kadane Algorithm

Matrix Chain Multiplication

Longest Palindromic Subsequence

Longest Valid Parentheses

Shortest Common Supersequence Length

Knapsack Memoization

New Man Shanks Prime

Longest Common Subsequence

Longest Alternating Subsequence

Longest Palindromic Substring

Fibonacci Numbers

+10

More
Fractals

Koch Snowflake

Mandelbrot

Graphs

Prim MST

Kruskal

Bellman Ford

Minimum Path Sum

Page Rank

Dijkstra

Depth First Search

Breadth First Search

Hashing
Machine Learning
Math

Binary Exponentiation

Catalan Number

Sieve of Eratosthenes

Power Of Two Or Not

Square Free Integer

Median

Convolution

Determinant Of Matrix

Number of Digits

Leonardo Number

ADT Fraction

Convolution FFT

Vampire Number

Parse Integer

Liouville Lambda Function

Square Root With Newton Raphson Method

Find Max

Simpson Integration

Linear Diophantine Equations Solver

Keith Number

Binomial Coefficient

Circular Convolution FFT

Pronic Number

Dudeney Number

Prime

Pow Recursion

Kaprekar Numbers

Absolute Value

Trinomial Triangle

Find Max Recursion

Non Repeating Element

Sum of Arithmetic Series

Vector Cross Product

Gaussian

Pollard Rho

Perfect Square

Herons Formula

Josephus Problem

Sum of Digits

Average

Armstrong Number

Standard Deviation

Fibonacci Java Streams

Lucas Series

Combinations

Amicable Number

Volume

Find Min Recursion

Sum Without Arithmetic Operators

Square Root With Babylonian Method

Palindrome Number

Digital Root

Juggler Sequence

Find Min

Aliquot Sum

Perimeter

Long Division

Collatz Conjecture

Least Common Multiple

Twin Prime

Reverse Number

Absolute Min

Matrix Util

Mobius Function

Find Kth Number

Absolute Max

Max Value

Harshad Number

Perfect Number

Roman Numeral Util

Euler Method

Fast Inverse Sqrt

FFT Bluestein

Automorphic Number

Krishnamurthy Number

Magic Square

Min Value

Ugly Numbers

Distance Formula

GCD Recursion

Generic Root

Factorial Recursion

Pi Nilakantha

Binary Pow

Prime Factorization

Perfect Cube

Pythagorean Triple

Standard Score

Matrix

Inverse of Matrix

Pascal Triangle

Networking Flow

Ford Fulkerson

Numerical Analysis
Operations on Datastructures
Others

Sort 012 D

Palindrome Prime

Color Contrast Ratio

Two Sum Problem

Matrix Transpose

Word Boggle

Three Sum Problem

Median Of Running Array

Sparcity

Range In Sorted Array

Palindrome Singly Linked List

Lfu Cache

Lru Cache

Linear Congruential Generator

Two Pointers

Count Words

Lowest Base Palindrome

Stack Postfix Notation

Eulers Function

Rotate Matrice By 90 Degree

Perlin Noise

Bankers Algorithm

Brian Kernighan Algorithm

Guass Legendre

Reverse Stack Using Recursion

Fibbonaci Series

Implementing Auto Completing Features Using Trie

Return Subsequence

Floyd Triangle

CRC Algorithm

Count Set Bits

Password Gen

Verhoeff

Mini Max Algorithm

Happy Numbers Seq

Top K Words

Three Sum

Count Char

String Match Finite Automata

Remove Duplicate From String

Tower of Hanoi

Root Precision

Memory Management Algorithms

Insert Delete In Array

Skyline Problem

Krishnamurthy

Recursive

Flood Fill

Searches

Row Column Wise Sorted 2d Array Binary Search

KMP Search

Ternary Search

Quick Select

Lower Bound

Linear Search Thread

Iterative Ternary Search

Interpolation Search

Union Find

Binary Search

+13

More

Exponental Search

How Many Times Rotated

Upper Bound

Jump Search

Monte Carlo Tree Search

Perfect Binary Search

Rabin Karp Algorithm

Fibonacci Search

Saddleback Search

Iterative Binary Search

Linear Search

+12

More

Binary Search 2d Array

Square Root Binary Search

Sorts

Pancake Sort

Shell Sort

Bogo Sort

Sort Utils Random Generator

Sort Utils

Stooge Sort

Dnf Sort

Heap Sort

+12

More

Radix Sort

Tim Sort

Bubble Sort Recursion

Merge Sort No Extra Space

Strand Sort

Link List Sort

Dual Pivot Quick Sort

Circle Sort

Gnome Sort

Merge Sort Recursive

Cocktail Shaker Sort

Odd Even Sort

Pigeonhole Sort

Counting Sort

Topological Sort

Tree Sort

Swap Sort

Insertion Sort

+16

More

Bead Sort

Selection Sort

+12

More

Cycle Sort

Comb Sort

Sort Algorithm

Bubble Sort

+17

More

Wiggle Sort

Slowsort

Bitonic Sort

Quick Sort

+17

More

Dutch National Flag Sort

Simple Sort

Binary Insertion Sort

Bucket Sort

Strings

Levenshtein Distance

Hamming Distance

Boyer Moore

Rabin Karp

Isomorphic

Characters Same

Word Ladder

Palindrome

Hamming Distance

Zig Zag Pattern

Alphabetical

Valid Parentheses

Horspool Search

Longest Non Repeative Substring

Check Vowels

Anagrams

Reverse String

Check Anagrams

Permute String

Letter Combinations Of Phone Number

Reverse String Recursive