The Algorithms logo
The Algorithms
AboutDonate
undefined

Minimizing Lateness

Audio Filters
Backtracking

Hamiltonian Cycle

Sudoku Solver

Array Combination

Maze Recursion

Permutation

Word Search

All Paths From Source To Target

Knights Tour

Combination

Ciphers

Simple Sub Cipher

Base LFSR

Composite LFSR

A 5 Cipher

A 5 Key Stream Generator

Columnar Transposition Cipher

AES Encryption

Hill Cipher

Blowfish

Affine Cipher

Polybius

Vigenere

Simple Substitution Cipher

Product Cipher

Compression
Conversions

Decimal to Hexadecimal

Binary to Decimal

Any Base To Any Base

Hex To Oct

Any Base To Decimal

Integer To Roman

Decimal To Any Base

Binary to Hexadecimal

Binary to Octal

Hexa Decimal To Binary

Rgb Hsv Conversion

Octal to Decimal

Hexadecimal to Decimal

Decimal to Octal

Decimal to Binary

Roman To Integer

Octal To Binary

Turkish To Latin Conversion

Octal To Hexadecimal

CPU Scheduling Algorithms
Data Structures

Create And Detect Loop

Doubly Linked List

Merge K Sorted Linkedlist

Search Singly Linked List Recursion

Circle Linked List

Merge Sorted Array List

Cursor Linked List

Merge Sorted Singly Linked List

Count Singly Linked List Recursion

Singly Linked List

Calculate Max Of Min

Stack with Singly Linked List

Next Grater Element

Largest Rectangle

Balanced Brackets

Stack Array List

Decimal To Any Using Stack

Next Smaller Element

Maximum Minimum Window

Postfix To Infix

Infix To Postfix

Duplicate Brackets

Dynamic Array

DIJSKSTRAS ALGORITHM

Tarjans Algorithm

Bipartite Grapf DFS

Connected Component

Generic Array List Queue

Generic Hash Map Using Array

Hash Map Cuckoo Hashing

Linear Probing Hash Map

Generic Hash Map Using Array List

Min Priority Queue

Empty Heap Exception

Disjoint Sets

Check If Binary Tree Balanced

Ceil In Binary Search Tree

Inorder Traversal

Level Order Traversal

BST From Sorted Array

Create Binary Tree From Inorder Preorder

BST Recursive Generic

Post Order Traversal

Tree Random Node

Pre Order Traversal

Check Binary Tree Is Valid BST

Nearest Right Key

Check Tree Is Symmetric

Print Top Viewof Tree

Same Trees Check

Vertical Order Traversal

Zigzag Traversal

Queue Using Two Stacks

Devutils

Process Details

Simple Node

Large Tree Node

Simple Tree Node

Matrix Search Algorithm

Search Algorithm

Digital Image Processing
Divide and Conquer

Strassen Matrix Multiplication

Skyline Algorithm

Dynamic Programming

Floyd Warshall

Fibonacci Numbers

+10

More

Count Friends Pairing

Knapsack Memoization

Longest Valid Parentheses

Kadane Algorithm

Fibonacci Numbers

+10

More

Dyanamic Programming Knapsack

Minimum Sum Partition

New Man Shanks Prime

Palindromic Partitioning

Brute Force Knapsack

Longest Increasing Subsequence

Partition Problem

Matrix Chain Recursive Top Down Memoisation

Longest Common Subsequence

Matrix Chain Multiplication

Shortest Common Supersequence Length

Optimal Job Scheduling

Longest Palindromic Subsequence

Longest Alternating Subsequence

Fractals

Mandelbrot

Koch Snowflake

Graphs

Prim MST

Kruskal

Kosaraju

Bellman Ford

Minimum Path Sum

Breadth First Search

Depth First Search

Page Rank

Dijkstra

Hashing
Io

Buffered Reader

Machine Learning
Math

Catalan Number

Binary Exponentiation

Vector Cross Product

Long Division

Find Min Recursion

Min Value

Standard Deviation

Vampire Number

Gaussian

Simpson Integration

Median

Convolution FFT

Convolution

Factorial Recursion

Josephus Problem

Average

Prime Factorization

Pronic Number

Perfect Square

Absolute Min

Keith Number

Linear Diophantine Equations Solver

Sum of Digits

Trinomial Triangle

Absolute Max

Distance Formula

Juggler Sequence

Square Free Integer

Find Max

Pollard Rho

Number of Digits

Square Root With Babylonian Method

Standard Score

Roman Numeral Util

Power Of Two Or Not

Frizzy Number

Combinations

Armstrong Number

Mobius Function

Sum of Arithmetic Series

Aliquot Sum

Harshad Number

Magic Square

Absolute Value

Square Root With Newton Raphson Method

Lucas Series

Perfect Cube

Binomial Coefficient

Generic Root

Fast Inverse Sqrt

Sum Without Arithmetic Operators

FFT Bluestein

Max Value

Palindrome Number

Perfect Number

Pow Recursion

Circular Convolution FFT

GCD Recursion

Matrix Util

Find Max Recursion

Fibonacci Number Check

Perimeter

Find Min

Automorphic Number

Pi Nilakantha

Find Kth Number

Leonardo Number

Collatz Conjecture

ADT Fraction

Krishnamurthy Number

Dudeney Number

Euler Method

Liouville Lambda Function

Kaprekar Numbers

Reverse Number

Least Common Multiple

Pythagorean Triple

Fibonacci Java Streams

Parse Integer

Ugly Numbers

Binary Pow

Herons Formula

Digital Root

Non Repeating Element

Determinant Of Matrix

Twin Prime

Amicable Number

Volume

Sieve of Eratosthenes

Matrix

Inverse of Matrix

Pascal Triangle

Networking Flow

Ford Fulkerson

Numerical Analysis
Operations on Datastructures
Others

Lru Cache

Lfu Cache

Graham Scan

Median Of Running Array

Color Contrast Ratio

Word Boggle

Palindrome Prime

Sparcity

Range In Sorted Array

Matrix Transpose

Palindrome Singly Linked List

Three Sum Problem

Sort 012 D

Rotate Matrice By 90 Degree

Count Set Bits

Verhoeff

Skyline Problem

Password Gen

Mini Max Algorithm

Eulers Function

Two Pointers

Top K Words

Brian Kernighan Algorithm

Guass Legendre

Happy Numbers Seq

Count Words

Fibbonaci Series

Krishnamurthy

Bankers Algorithm

Root Precision

Lowest Base Palindrome

Memory Management Algorithms

Return Subsequence

Reverse Stack Using Recursion

CRC Algorithm

Count Char

Tower of Hanoi

Insert Delete In Array

Remove Duplicate From String

Stack Postfix Notation

Perlin Noise

Floyd Triangle

String Match Finite Automata

Print A Matrix In Spiral Order

Implementing Auto Completing Features Using Trie

Line Sweep

Linear Congruential Generator

Recursive

Flood Fill

Scheduling

SJF Scheduling

RR Scheduling

Searches

Row Column Wise Sorted 2d Array Binary Search

Interpolation Search

Upper Bound

Order Agnostic Binary Search

How Many Times Rotated

KMP Search

Union Find

Monte Carlo Tree Search

Rabin Karp Algorithm

Perfect Binary Search

Exponental Search

Linear Search Thread

Saddleback Search

Search In A Row And Col Wise Sorted Matrix

Binary Search 2d Array

Ternary Search

Binary Search

+14

More

Sort Order Agnostic Binary Search

Iterative Ternary Search

Square Root Binary Search

Lower Bound

Fibonacci Search

Iterative Binary Search

Quick Select

Linear Search

+13

More

Jump Search

Sorts

Sort Algorithm

Radix Sort

Shell Sort

Swap Sort

Pigeonhole Sort

Merge Sort No Extra Space

Gnome Sort

Link List Sort

Counting Sort

Comb Sort

Tim Sort

Circle Sort

Tree Sort

Bucket Sort

Sort Utils

Bogo Sort

Strand Sort

Slowsort

Sort Utils Random Generator

Heap Sort

+12

More

Bubble Sort

+18

More

Selection Sort

+13

More

Merge Sort

+18

More

Quick Sort

+18

More

Binary Insertion Sort

Merge Sort Recursive

Cocktail Shaker Sort

Wiggle Sort

Bubble Sort Recursion

Topological Sort

Bead Sort

Introspective Sort

Odd Even Sort

Simple Sort

Dutch National Flag Sort

Bitonic Sort

Insertion Sort

+17

More

Dual Pivot Quick Sort

Dnf Sort

Pancake Sort

Stooge Sort

Cycle Sort

Strings

Zig Zag Pattern

Valid Parentheses

Longest Palindromic Substring

Alphabetical

Check Vowels

Permute String

Reverse String

Check Anagram

Palindrome

Hamming Distance

Letter Combinations Of Phone Number

Longest Non Repeative Substring

Reverse String Recursive

Horspool Search

Isomorphic

String Compression

Word Ladder

Characters Same

Longest Palindromic Substring

Levenshtein Distance

Hamming Distance

Boyer Moore

Rabin Karp