The Algorithms logo
The Algorithms
AboutDonate
undefined

Minimizing Lateness

Audio Filters
Backtracking

Knights Tour

Combination

Maze Recursion

Permutation

Hamiltonian Cycle

Ciphers

AES Encryption

Columnar Transposition Cipher

Simple Sub Cipher

Vigenere

Polybius

Simple Substitution Cipher

Base LFSR

Composite LFSR

A 5 Key Stream Generator

A 5 Cipher

Blowfish

Hill Cipher

Product Cipher

Affine Cipher

Compression
Conversions

Octal To Hexadecimal

Decimal to Octal

Binary to Octal

Decimal To Any Base

Binary to Hexadecimal

Decimal to Hexadecimal

Decimal to Binary

Any Base To Any Base

Octal to Decimal

Hex To Oct

Hexadecimal to Decimal

Hexa Decimal To Binary

Integer To Roman

Any Base To Decimal

Rgb Hsv Conversion

Turkish To Latin Conversion

Roman To Integer

Binary to Decimal

Data Structures

Queue Using Two Stacks

Generic Hash Map Using Array

Hash Map Cuckoo Hashing

Generic Hash Map Using Array List

Hash Map Linear Probing

Count Singly Linked List Recursion

Singly Linked List

Search Singly Linked List Recursion

Merge K Sorted Linkedlist

Merge Sorted Singly Linked List

Circle Linked List

Cursor Linked List

Merge Sorted Array List

Doubly Linked List

Create And Detect Loop

Disjoint Sets

Dynamic Array

Empty Heap Exception

Min Priority Queue

DIJSKSTRAS ALGORITHM

Bipartite Grapf DFS

Connected Component

Ceil In Binary Search Tree

Level Order Traversal

Nearest Right Key

Print Top Viewof Tree

Tree Random Node

Level Order Traversal Queue

Create Binary Tree From Inorder Preorder

Vertical Order Traversal

Check If Binary Tree Balanced

BST Recursive Generic

Valid BST Or Not

Create BST From Sorted Array

Generic Array List Queue

Next Grater Element

Maximum Minimum Window

Infix To Postfix

Stack Array List

Postfix To Infix

Decimal To Any Using Stack

Calculate Max Of Min

Balanced Brackets

Largest Rectangle

Stack with Singly Linked List

Next Smaller Element

Duplicate Brackets

Devutils

Search Algorithm

Matrix Search Algorithm

Simple Tree Node

Simple Node

Large Tree Node

Digital Image Processing
Divide and Conquer

Strassen Matrix Multiplication

Skyline Algorithm

Dynamic Programming

Longest Palindromic Subsequence

Memoization Technique Knapsack

Longest Valid Parentheses

Longest Common Subsequence

Matrix Chain Recursive Top Down Memoisation

Palindromic Partitioning

Longest Increasing Subsequence

Minimum Sum Partition

Longest Palindromic Substring

Dyanamic Programming Knapsack

Shortest Common Supersequence Length

Knapsack Memoization

Brute Force Knapsack

Longest Alternating Subsequence

Kadane Algorithm

New Man Shanks Prime

Count Friends Pairing

Matrix Chain Multiplication

Floyd Warshall

Longest Palindromic Substring

Fractals

Koch Snowflake

Mandelbrot

Graphs

Breadth First Search

Depth First Search

Page Rank

Dijkstra

Minimum Path Sum

Kruskal

Bellman Ford

Prim MST

Hashing
Math

Sieve of Eratosthenes

Catalan Number

Fibonacci Numbers

+11

More

Fibonacci Numbers

+11

More

Matrix Util

Pow Recursion

Convolution

Juggler Sequence

GCD Recursion

Reverse Number

Determinant Of Matrix

Linear Diophantine Equations Solver

Pascal Triangle

Generic Root

Sum Without Arithmetic Operators

Aliquot Sum

Simpson Integration

Standard Score

Herons Formula

Convolution FFT

Find Min

Fast Inverse Sqrt

Number of Digits

Leonardo Number

Standard Deviation

Least Common Multiple

Kaprekar Numbers

Power Of Two Or Not

Non Repeating Element

Volume

Euler Method

Average

Automorphic Number

Find Kth Number

Lucas Series

Distance Formula

Josephus Problem

Sum of Digits

Factorial Recursion

Mobius Function

Armstrong Number

Krishnamurthy Number

Square Root With Newton Raphson Method

Min Value

Dudeney Number

Absolute Value

Fibonacci Java Streams

Vampire Number

Gaussian

Perfect Square

Trinomial Triangle

Ugly Numbers

Vector Cross Product

Magic Square

Max Value

Parse Integer

Pronic Number

Roman Numeral Util

Pi Nilakantha

Collatz Conjecture

Fibonacci Numbers

+11

More

Harshad Number

Pythagorean Triple

Sum of Arithmetic Series

Perfect Cube

Perimeter

Find Min Recursion

Absolute Min

FFT Bluestein

Pollard Rho

Circular Convolution FFT

Palindrome Number

Amicable Number

Find Max Recursion

Absolute Max

Keith Number

Perfect Number

ADT Fraction

Binary Pow

Binomial Coefficient

Find Max

Digital Root

Liouville Lambda Function

Median

Prime Factorization

Square Root With Babylonian Method

Combinations

Prime Check

Binary Exponentiation

Matrix

Inverse of Matrix

Networking Flow

Ford Fulkerson

Numerical Analysis
Operations on Datastructures
Others

Reverse Stack Using Recursion

CRC Algorithm

Two Pointers

Lowest Base Palindrome

Happy Numbers Seq

Krishnamurthy

Memory Management Algorithms

Linear Congruential Generator

Insert Delete In Array

Guass Legendre

Three Sum

Count Words

Rotate Matrice By 90 Degree

String Match Finite Automata

Remove Duplicate From String

Root Precision

Bankers Algorithm

Tower of Hanoi

Count Char

Fibbonaci Series

Brian Kernighan Algorithm

Skyline Problem

Floyd Triangle

Implementing Auto Completing Features Using Trie

Top K Words

Verhoeff

Count Set Bits

Password Gen

Mini Max Algorithm

Stack Postfix Notation

Eulers Function

Return Subsequence

Perlin Noise

Lru Cache

Lfu Cache

Range In Sorted Array

Three Sum Problem

Palindrome Singly Linked List

Word Boggle

Color Contrast Ratio

Sort 012 D

Matrix Transpose

Median Of Running Array

Palindrome Prime

Two Sum Problem

Sparcity

Recursive

Flood Fill

Searches

How Many Times Rotated

Perfect Binary Search

Jump Search

Binary Search

+13

More

Iterative Ternary Search

KMP Search

Monte Carlo Tree Search

Square Root Binary Search

Lower Bound

Union Find

Binary Search 2d Array

Rabin Karp Algorithm

Upper Bound

Fibonacci Search

Exponental Search

Iterative Binary Search

Ternary Search

Interpolation Search

Linear Search Thread

Row Column Wise Sorted 2d Array Binary Search

Quick Select

Linear Search

+11

More

Saddleback Search

Sorts

Counting Sort

Tree Sort

Bitonic Sort

Insertion Sort

+17

More

Merge Sort No Extra Space

Sort Utils

Dnf Sort

Bogo Sort

Wiggle Sort

Quick Sort

+18

More

Sort Algorithm

Shell Sort

Heap Sort

+13

More

Strand Sort

Bubble Sort

+17

More

Topological Sort

Link List Sort

Cocktail Shaker Sort

Swap Sort

Odd Even Sort

Circle Sort

Pancake Sort

Tim Sort

Bubble Sort Recursion

Selection Sort

+13

More

Cycle Sort

Dutch National Flag Sort

Gnome Sort

Simple Sort

Radix Sort

Stooge Sort

Merge Sort Recursive

Slowsort

Pigeonhole Sort

Binary Insertion Sort

Comb Sort

Bucket Sort

Strings

Hamming Distance

Rabin Karp

Boyer Moore

Levenshtein Distance

Characters Same

List All Possible Words From Phone Digits

Check Vowels

Alphabetical

Longest Non Repeative Substring

Permute String

Check Anagrams

Reverse String

Zig Zag Pattern

Anagrams

Palindrome

Hamming Distance

Horspool Search

Word Ladder

Isomorphic