The Algorithms logo
The Algorithms
AboutDonate
undefined

Knapsack

Minimizing Lateness

Audio Filters
Backtracking

Sudoku Solver

Array Combination

Combination

Knights Tour

Permutation

All Paths From Source To Target

Maze Recursion

Hamiltonian Cycle

Ciphers

Polybius

Hill Cipher

Product Cipher

Simple Substitution Cipher

Composite LFSR

A 5 Key Stream Generator

A 5 Cipher

Base LFSR

AES Encryption

Simple Sub Cipher

Blowfish

Columnar Transposition Cipher

Affine Cipher

Vigenere

Compression
Conversions

Binary to Octal

Any Base To Any Base

Octal to Decimal

Roman To Integer

Any Base To Decimal

Hexa Decimal To Binary

Integer To Roman

Binary to Hexadecimal

Turkish To Latin Conversion

Decimal to Octal

Rgb Hsv Conversion

Decimal to Binary

Binary to Decimal

Hexadecimal to Decimal

Hex To Oct

Octal To Hexadecimal

Decimal to Hexadecimal

Decimal To Any Base

CPU Scheduling Algorithms
Data Structures

Queue Using Two Stacks

Connected Component

Bipartite Grapf DFS

Tarjans Algorithm

DIJSKSTRAS ALGORITHM

Empty Heap Exception

Min Priority Queue

Generic Array List Queue

Linear Probing Hash Map

Hash Map Cuckoo Hashing

Generic Hash Map Using Array List

Generic Hash Map Using Array

BST Recursive Generic

Valid BST Or Not

Create BST From Sorted Array

Check Tree Is Symmetric

Same Trees Check

Level Order Traversal Helper

Check If Binary Tree Balanced

Tree Random Node

Create Binary Tree From Inorder Preorder

Level Order Traversal

Vertical Order Traversal

Ceil In Binary Search Tree

Nearest Right Key

Print Top Viewof Tree

Pre Order Traversal

Post Order Traversal

Zigzag Traversal

Inorder Traversal

Dynamic Array

Stack with Singly Linked List

Duplicate Brackets

Postfix To Infix

Next Smaller Element

Infix To Postfix

Calculate Max Of Min

Decimal To Any Using Stack

Maximum Minimum Window

Stack Array List

Largest Rectangle

Balanced Brackets

Next Grater Element

Disjoint Sets

Circle Linked List

Count Singly Linked List Recursion

Cursor Linked List

Merge K Sorted Linkedlist

Doubly Linked List

Merge Sorted Singly Linked List

Create And Detect Loop

Search Singly Linked List Recursion

Merge Sorted Array List

Singly Linked List

Devutils

Simple Node

Simple Tree Node

Large Tree Node

Process Details

Search Algorithm

Matrix Search Algorithm

Digital Image Processing
Divide and Conquer

Skyline Algorithm

Strassen Matrix Multiplication

Dynamic Programming

Floyd Warshall

Minimum Sum Partition

Count Friends Pairing

New Man Shanks Prime

Knapsack Memoization

Palindromic Partitioning

Longest Increasing Subsequence

Brute Force Knapsack

Longest Alternating Subsequence

Longest Palindromic Subsequence

Matrix Chain Multiplication

Longest Common Subsequence

Matrix Chain Recursive Top Down Memoisation

Optimal Job Scheduling

Longest Valid Parentheses

Dyanamic Programming Knapsack

Kadane Algorithm

Shortest Common Supersequence Length

Fractals

Mandelbrot

Koch Snowflake

Graphs

Page Rank

Dijkstra

Kosaraju

Bellman Ford

Prim MST

Kruskal

Minimum Path Sum

Depth First Search

Breadth First Search

Hashing
Io

Buffered Reader

Math

Sieve of Eratosthenes

Simpson Integration

Standard Deviation

Twin Prime

Vampire Number

Amicable Number

Circular Convolution FFT

Find Max

Herons Formula

Standard Score

Magic Square

Power Of Two Or Not

Ugly Numbers

Find Max Recursion

Convolution FFT

Linear Diophantine Equations Solver

Square Root With Babylonian Method

Determinant Of Matrix

Armstrong Number

Absolute Min

Fibonacci Numbers

+10

More

GCD Recursion

Max Value

Aliquot Sum

Pythagorean Triple

Kaprekar Numbers

Find Kth Number

Pronic Number

Vector Cross Product

Dudeney Number

Min Value

Distance Formula

Frizzy Number

Non Repeating Element

Sum of Arithmetic Series

Liouville Lambda Function

Euler Method

Keith Number

Pi Nilakantha

Roman Numeral Util

Collatz Conjecture

Josephus Problem

Perfect Cube

FFT Bluestein

Palindrome Number

Automorphic Number

Juggler Sequence

Pow Recursion

Number of Digits

Trinomial Triangle

Digital Root

Combinations

Fibonacci Java Streams

Reverse Number

ADT Fraction

Factorial Recursion

Least Common Multiple

Fast Inverse Sqrt

Square Root With Newton Raphson Method

Prime Factorization

Sum of Digits

Perfect Square

Find Min Recursion

Absolute Max

Factorial

+11

More

Matrix Util

Parse Integer

Lucas Series

Perfect Number

Binomial Coefficient

Generic Root

Square Free Integer

Volume

Pollard Rho

Perimeter

Average

Convolution

Harshad Number

Leonardo Number

Sum Without Arithmetic Operators

Binary Pow

Mobius Function

Krishnamurthy Number

Long Division

Prime

Find Min

Median

Gaussian

Absolute Value

Fibonacci Numbers

+10

More

Catalan Number

Binary Exponentiation

Fibonacci Numbers

+10

More
Matrix

Pascal Triangle

Inverse of Matrix

Networking Flow

Ford Fulkerson

Numerical Analysis
Operations on Datastructures
Others

Three Sum

Brian Kernighan Algorithm

Count Char

Skyline Problem

Bankers Algorithm

Krishnamurthy

Perlin Noise

Count Set Bits

Reverse Stack Using Recursion

Remove Duplicate From String

Linear Congruential Generator

Print A Matrix In Spiral Order

Rotate Matrice By 90 Degree

Top K Words

Return Subsequence

Two Pointers

Tower of Hanoi

Password Gen

Stack Postfix Notation

String Match Finite Automata

Insert Delete In Array

Implementing Auto Completing Features Using Trie

Eulers Function

Count Words

CRC Algorithm

Root Precision

Floyd Triangle

Lowest Base Palindrome

Memory Management Algorithms

Happy Numbers Seq

Fibbonaci Series

Guass Legendre

Verhoeff

Mini Max Algorithm

Lru Cache

Lfu Cache

Graham Scan

Palindrome Prime

Word Boggle

Two Sum Problem

Sort 012 D

Three Sum Problem

Color Contrast Ratio

Median Of Running Array

Matrix Transpose

Sparcity

Range In Sorted Array

Palindrome Singly Linked List

Recursive

Flood Fill

Scheduling

SJF Scheduling

Searches

Search In A Row And Col Wise Sorted Matrix

How Many Times Rotated

Row Column Wise Sorted 2d Array Binary Search

Lower Bound

Quick Select

Union Find

Ternary Search

Perfect Binary Search

Iterative Ternary Search

Rabin Karp Algorithm

Fibonacci Search

Iterative Binary Search

Linear Search

+12

More

Upper Bound

Saddleback Search

Linear Search Thread

Binary Search 2d Array

Monte Carlo Tree Search

Jump Search

Sort Order Agnostic Binary Search

Interpolation Search

Order Agnostic Binary Search

Exponental Search

Binary Search

+13

More

Square Root Binary Search

KMP Search

Sorts

Bubble Sort Recursion

Pancake Sort

Counting Sort

Odd Even Sort

Bogo Sort

Dutch National Flag Sort

Tim Sort

Merge Sort No Extra Space

Radix Sort

Pigeonhole Sort

Bucket Sort

Cocktail Shaker Sort

Heap Sort

+12

More

Link List Sort

Topological Sort

Bead Sort

Simple Sort

Bubble Sort

+18

More

Selection Sort

+13

More

Slowsort

Introspective Sort

Merge Sort Recursive

Binary Insertion Sort

Stooge Sort

Swap Sort

Quick Sort

+18

More

Dnf Sort

Bitonic Sort

Dual Pivot Quick Sort

Wiggle Sort

Sort Utils Random Generator

Strand Sort

Sort Utils

Gnome Sort

Sort Algorithm

Tree Sort

Insertion Sort

+17

More

Cycle Sort

Circle Sort

Shell Sort

Comb Sort

Strings

Hamming Distance

Boyer Moore

Rabin Karp

Zig Zag Pattern

Palindrome

Isomorphic

Reverse String Recursive

Alphabetical

Reverse String

Hamming Distance

Valid Parentheses

Word Ladder

Horspool Search

Letter Combinations Of Phone Number

Permute String

Characters Same

Longest Palindromic Substring

Check Anagram

Check Vowels

Longest Non Repeative Substring

Levenshtein Distance

Longest Palindromic Substring