The Algorithms logo
The Algorithms
AboutDonate
undefined

Minimizing Lateness

Audio Filters
Backtracking
Ciphers

Product Cipher

Columnar Transposition Cipher

Simple Sub Cipher

AES Encryption

Vigenere

Affine Cipher

Hill Cipher

Simple Substitution Cipher

Compression
Conversions

Hex To Oct

Any Base To Decimal

Binary to Octal

Binary to Hexadecimal

Octal to Decimal

Roman To Integer

Hexadecimal to Decimal

Decimal to Hexadecimal

Binary to Decimal

Octal To Hexadecimal

Rgb Hsv Conversion

Integer To Roman

Any Base To Any Base

Decimal to Binary

Hexa Decimal To Binary

Turkish To Latin Conversion

Decimal to Octal

Decimal To Any Base

Data Structures

Queue Using Two Stacks

Print Top Viewof Tree

Valid BST Or Not

Create BST From Sorted Array

Nearest Right Key

Vertical Order Traversal

Level Order Traversal Queue

Ceil In Binary Search Tree

Create Binary Tree From Inorder Preorder

Check If Binary Tree Balanced

BST Recursive Generic

Level Order Traversal

Tree Random Node

Disjoint Sets

Circle Linked List

Cursor Linked List

Count Singly Linked List Recursion

Singly Linked List

Merge Sorted Array List

Search Singly Linked List Recursion

Doubly Linked List

Merge Sorted Singly Linked List

Create And Detect Loop

Merge K Sorted Linkedlist

Generic Array List Queue

Dynamic Array

Stack Array List

Balanced Brackets

Next Smaller Element

Decimal To Any Using Stack

Largest Rectangle

Next Grater Element

Stack with Singly Linked List

Calculate Max Of Min

Postfix To Infix

Duplicate Brackets

Maximum Minimum Window

Infix To Postfix

Connected Component

Bipartite Grapf DFS

DIJSKSTRAS ALGORITHM

Empty Heap Exception

Min Priority Queue

Hash Map Linear Probing

Devutils

Search Algorithm

Large Tree Node

Simple Tree Node

Simple Node

Digital Image Processing
Divide and Conquer

Strassen Matrix Multiplication

Skyline Algorithm

Dynamic Programming

Fibonacci Numbers

Fibonacci Numbers

Shortest Common Supersequence Length

Matrix Chain Multiplication

Count Friends Pairing

Minimum Sum Partition

Minimum Path Sum

Longest Valid Parentheses

Dyanamic Programming Knapsack

Kadane Algorithm

Memoization Technique Knapsack

Brute Force Knapsack

Longest Palindromic Substring

Longest Increasing Subsequence

Knapsack Memoization

Fibonacci Numbers

Palindromic Partitioning

Longest Palindromic Subsequence

Longest Alternating Subsequence

Matrix Chain Recursive Top Down Memoisation

Longest Common Subsequence

New Man Shanks Prime

Longest Palindromic Substring

Fractals

Koch Snowflake

Mandelbrot

Graphs

Dijkstra

Page Rank

Depth First Search

Breadth First Search

Kruskal

Prim MST

Bellman Ford

Hashing
Machine Learning
Math

Sieve of Eratosthenes

Binary Exponentiation

Gaussian

Circular Convolution FFT

Binary Pow

Parse Integer

Volume

Krishnamurthy Number

Kaprekar Numbers

Standard Deviation

Ugly Numbers

Find Max

ADT Fraction

GCD Recursion

Roman Numeral Util

Sum of Arithmetic Series

Fibonacci Java Streams

Prime Check

Magic Square

Matrix Util

Prime Factorization

FFT Bluestein

Median

Keith Number

Lucas Series

Pronic Number

Pascal Triangle

Find Max Recursion

Generic Root

Absolute Max

Absolute Value

Euler Method

Vampire Number

Find Min Recursion

Aliquot Sum

Distance Formula

Reverse Number

Pow Recursion

Absolute Min

Automorphic Number

Min Value

Palindrome Number

Average

Max Value

Perfect Square

Perfect Number

Combinations

Amicable Number

Armstrong

Convolution FFT

Sum of Digits

Pi Nilakantha

Herons Formula

Digital Root

Linear Diophantine Equations Solver

Non Repeating Element

Perfect Cube

Convolution

Dudeney Number

Find Min

Power Of Two Or Not

Binomial Coefficient

Square Root With Babylonian Method

Juggler Sequence

Trinomial Triangle

Factorial Recursion

Simpson Integration

Vector Cross Product

Pythagorean Triple

Find Kth Number

Harshad Number

Number of Digits

Leonardo Number

Determinant Of Matrix

Matrix

Inverse of Matrix

Networking Flow

Ford Fulkerson

Operations on Datastructures
Others

Tower of Hanoi

Root Precision

Verhoeff

Skyline Problem

Count Char

Fibbonaci Series

Eulers Function

Mini Max Algorithm

Reverse Stack Using Recursion

Rotate Matrice By 90 Degree

Return Subsequence

Stack Postfix Notation

CP Ualgorithms

Two Pointers

Count Words

Brian Kernighan Algorithm

Three Sum

Happy Numbers Seq

Linear Congruential Generator

CRC Algorithm

Bankers Algorithm

Floyd Triangle

Guass Legendre

Password Gen

Krishnamurthy

Lowest Base Palindrome

Top K Words

Perlin Noise

Insert Delete In Array

Remove Duplicate From String

Implementing Auto Completing Features Using Trie

String Match Finite Automata

Two Sum Problem

Word Boggle

Color Contrast Ratio

Palindrome Prime

Three Sum Problem

Range In Sorted Array

Palindrome Singly Linked List

Sparcity

Sort 012 D

Median Of Running Array

Matrix Transpose

Lru Cache

Recursive

Flood Fill

Searches

Upper Bound

Perfect Binary Search

Linear Search

+11

More

Linear Search Thread

Iterative Ternary Search

Monte Carlo Tree Search

Ternary Search

Exponental Search

Square Root Binary Search

Quick Select

Iterative Binary Search

Interpolation Search

How Many Times Rotated

Fibonacci Search

Lower Bound

Binary Search

+12

More

Jump Search

Saddleback Search

Union Find

Sorts

Pancake Sort

Heap Sort

+13

More

Odd Even Sort

Bogo Sort

Bubble Sort

+17

More

Dnf Sort

Radix Sort

Tim Sort

Sort Algorithm

Stooge Sort

Selection Sort

+13

More

Slowsort

Cocktail Shaker Sort

Simple Sort

Merge Sort No Extra Space

Cycle Sort

Dutch National Flag Sort

Bucket Sort

Counting Sort

Merge Sort Recursive

Gnome Sort

Shell Sort

Link List Sort

Swap Sort

Insertion Sort

+16

More

Tree Sort

Comb Sort

Wiggle Sort

Pigeonhole Sort

Sort Utils

Circle Sort

Bitonic Sort

Quick Sort

+17

More

Bubble Sort Recursion

Strings

Rabin Karp

Boyer Moore

Levenshtein Distance

Check Vowels

Word Ladder

Characters Same

Reverse String

Horspool Search

Alphabetical

Check Anagrams

Palindrome

Permute String

Anagrams

List All Possible Words From Phone Digits